From c59db110d75192263e1e136194def996bcbaf7d0 Mon Sep 17 00:00:00 2001
From: Étienne Loks <etienne.loks@iggdrasil.net>
Date: Tue, 29 Aug 2017 17:38:11 +0200
Subject: Migrate from v1: add a manual SQL sentence

---
 scripts/migrate_from_v1_to_v2.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'scripts/migrate_from_v1_to_v2.sql')

diff --git a/scripts/migrate_from_v1_to_v2.sql b/scripts/migrate_from_v1_to_v2.sql
index 8f68d469b..7d40e5c54 100644
--- a/scripts/migrate_from_v1_to_v2.sql
+++ b/scripts/migrate_from_v1_to_v2.sql
@@ -1 +1,2 @@
-alter table auth_user alter last_login drop not null;
+ALTER TABLE auth_user ALTER last_login DROP NOT NULL;
+ALTER TABLE django_content_type DROP COLUMN name;
-- 
cgit v1.2.3

