8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

Simplify and rewrite migrations

This commit is contained in:
Gabriel Detraz 2020-04-23 23:20:12 +02:00
parent f6b2225eb8
commit 85437fc6c0
3 changed files with 2 additions and 43 deletions

View file

@ -46,9 +46,9 @@ class Migration(migrations.Migration):
),
migrations.AddField(
model_name="ldapuser",
name="ssh_keys",
name="sshkeys",
field=ldapdb.models.fields.ListField(
blank=True, db_column="sshkeys", null=True
blank=True, db_column="sshkeys", max_length=200, null=True
),
),
]

View file

@ -1,18 +0,0 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.28 on 2020-04-23 18:28
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("users", "0092_auto_20200423_1804"),
]
operations = [
migrations.RenameField(
model_name="ldapuser", old_name="ssh_keys", new_name="sshkeys",
),
]

View file

@ -1,23 +0,0 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.28 on 2020-04-23 18:30
from __future__ import unicode_literals
from django.db import migrations
import ldapdb.models.fields
class Migration(migrations.Migration):
dependencies = [
("users", "0093_auto_20200423_2028"),
]
operations = [
migrations.AlterField(
model_name="ldapuser",
name="sshkeys",
field=ldapdb.models.fields.ListField(
blank=True, db_column="sshkeys", max_length=200, null=True
),
),
]