]> git.parisson.com Git - telemeta.git/commitdiff
Add sql script to fix contenttypes
authorThomas Fillon <thomas@parisson.com>
Tue, 18 Apr 2017 22:22:43 +0000 (00:22 +0200)
committerThomas Fillon <thomas@parisson.com>
Tue, 18 Apr 2017 22:22:43 +0000 (00:22 +0200)
see http://stackoverflow.com/questions/32657064/runtimeerror-error-creating-new-content-types

scripts/sql/fix_contentttypes.sql [new file with mode: 0644]

diff --git a/scripts/sql/fix_contentttypes.sql b/scripts/sql/fix_contentttypes.sql
new file mode 100644 (file)
index 0000000..0d2c76b
--- /dev/null
@@ -0,0 +1 @@
+alter table django_content_type drop column name;