8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-30 00:22:25 +00:00
re2o/users/migrations/0052_ldapuser_shadowexpire.py

29 lines
835 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'),
]
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),
),
],
database_operations=[
2019-09-08 12:59:00 +00:00
migrations.RunSQL('ALTER TABLE users_ldapuser ADD COLUMN "shadowExpire" varchar(200) NULL;'),
2019-09-08 11:41:00 +00:00
]
2017-06-26 20:23:58 +00:00
),
]