8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-29 10:23:47 +00:00
re2o/users/migrations/0052_ldapuser_shadowexpire.py

31 lines
902 B
Python
Raw Normal View History

2017-06-26 20:23:58 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-06-26 18:51
from __future__ import unicode_literals
from django.db import migrations
import ldapdb.models.fields
class Migration(migrations.Migration):
dependencies = [("users", "0051_user_telephone")]
2017-06-26 20:23:58 +00:00
operations = [
2019-09-08 11:41:00 +00:00
migrations.SeparateDatabaseAndState(
state_operations=[
migrations.AddField(
model_name="ldapuser",
name="shadowexpire",
field=ldapdb.models.fields.CharField(
blank=True, db_column="shadowExpire", max_length=200, null=True
),
)
2019-09-08 11:41:00 +00:00
],
database_operations=[
migrations.RunSQL(
'ALTER TABLE users_ldapuser ADD COLUMN "shadowExpire" varchar(200) NULL;'
)
],
)
2017-06-26 20:23:58 +00:00
]