Add migration to change user_id to customuser_id in legacy code
Pertains to djangocms_blog
This commit is contained in:
parent
5d3f769750
commit
ba88bbf6bd
1 changed files with 13 additions and 0 deletions
|
@ -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;"),
|
||||||
|
]
|
Loading…
Reference in a new issue