mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-09 03:16:25 +00:00
Fix SQL commands for Postgres
This commit is contained in:
parent
cc6e1729dc
commit
61ac9c558c
4 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
],
|
||||
database_operations=[
|
||||
migrations.RunSQL('ALTER TABLE `users_ldapuser` ADD COLUMN `sambaSID` integer NULL UNIQUE;'),
|
||||
migrations.RunSQL('ALTER TABLE "users_ldapuser" ADD COLUMN "sambaSID" integer NULL UNIQUE;'),
|
||||
],
|
||||
)
|
||||
]
|
||||
|
|
|
@ -54,9 +54,9 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
],
|
||||
database_operations=[
|
||||
migrations.RunSQL('ALTER TABLE `users_ldapuser` ADD COLUMN `displayName` varchar(200) NULL;'),
|
||||
migrations.RunSQL('ALTER TABLE `users_ldapuser` ADD COLUMN `sambaNTPassword` varchar(200) NULL;'),
|
||||
migrations.RunSQL('ALTER TABLE `users_ldapuser` ADD COLUMN `userPassword` varchar(200) NULL;'),
|
||||
migrations.RunSQL('ALTER TABLE "users_ldapuser" ADD COLUMN "displayName" varchar(200) NULL;'),
|
||||
migrations.RunSQL('ALTER TABLE "users_ldapuser" ADD COLUMN "sambaNTPassword" varchar(200) NULL;'),
|
||||
migrations.RunSQL('ALTER TABLE "users_ldapuser" ADD COLUMN "userPassword" varchar(200) NULL;'),
|
||||
]
|
||||
),
|
||||
migrations.AddField(
|
||||
|
|
|
@ -45,7 +45,7 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
],
|
||||
database_operations=[
|
||||
migrations.RunSQL('ALTER TABLE `users_ldapuser` ADD COLUMN `loginShell` varchar(200) NULL;')
|
||||
migrations.RunSQL('ALTER TABLE "users_ldapuser" ADD COLUMN "loginShell" varchar(200) NULL;')
|
||||
],
|
||||
),
|
||||
migrations.AddField(
|
||||
|
|
|
@ -22,7 +22,7 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
],
|
||||
database_operations=[
|
||||
migrations.RunSQL('ALTER TABLE `users_ldapuser` ADD COLUMN `shadowExpire` varchar(200) NULL;'),
|
||||
migrations.RunSQL('ALTER TABLE "users_ldapuser" ADD COLUMN "shadowExpire" varchar(200) NULL;'),
|
||||
]
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue