BryanDavis has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/353908 )
Change subject: Make django's makemigrations happy
......................................................................
Make django's makemigrations happy
The ldapdb models are not actually managed by Django's migrations
system, but makemigrations apparently doesn't know that. Rather than
adding a new migration file that does nothing, I'm manually backporting
the changes it wants to make to the initial migration for the project.
This is a complete no-op for both development and production.
Change-Id: I46335e5464d72da175c7ef2402ee968062cbf949
---
M striker/tools/migrations/0001_squashed.py
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/striker
refs/changes/08/353908/1
diff --git a/striker/tools/migrations/0001_squashed.py
b/striker/tools/migrations/0001_squashed.py
index 06ed066..537d916 100644
--- a/striker/tools/migrations/0001_squashed.py
+++ b/striker/tools/migrations/0001_squashed.py
@@ -34,8 +34,8 @@
migrations.CreateModel(
name='Maintainer',
fields=[
- ('dn', models.CharField(max_length=200)),
- ('username', ldapdb.models.fields.CharField(max_length=200,
serialize=False, primary_key=True, db_column='uid')),
+ ('dn', models.CharField(primary_key=True, serialize=False,
max_length=200)),
+ ('username', ldapdb.models.fields.CharField(max_length=200,
serialize=False, db_column='uid')),
('full_name', ldapdb.models.fields.CharField(max_length=200,
db_column='cn')),
],
options={
@@ -45,8 +45,8 @@
migrations.CreateModel(
name='Tool',
fields=[
- ('dn', models.CharField(max_length=200)),
- ('cn', ldapdb.models.fields.CharField(max_length=200,
serialize=False, primary_key=True, db_column='cn')),
+ ('dn', models.CharField(primary_key=True, serialize=False,
max_length=200)),
+ ('cn', ldapdb.models.fields.CharField(max_length=200,
serialize=False, db_column='cn')),
('gid_number', ldapdb.models.fields.IntegerField(unique=True,
db_column='gidNumber')),
('members',
ldapdb.models.fields.ListField(db_column='member')),
],
--
To view, visit https://gerrit.wikimedia.org/r/353908
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I46335e5464d72da175c7ef2402ee968062cbf949
Gerrit-PatchSet: 1
Gerrit-Project: labs/striker
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits