Add migration to change user_id to customuser_id in legacy code

Pertains to djangocms_blog
This commit is contained in:
PCoder 2019-05-06 08:04:57 +02:00
parent 5d3f769750
commit ba88bbf6bd

View file

@ -0,0 +1,13 @@
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [('membership', '0007_auto_20180213_0128'),
('djangocms_blog', '0032_auto_20180109_0023'),
]
operations = [
migrations.RunSQL(
"ALTER TABLE djangocms_blog_authorentriesplugin_authors "
"RENAME COLUMN user_id TO customuser_id;"),
]