8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 15:12:25 +00:00
re2o/users/migrations/0052_ldapuser_shadowexpire.py
Hugo Levy-Falk c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00

30 lines
902 B
Python

# -*- 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 = [
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=[
migrations.RunSQL(
'ALTER TABLE users_ldapuser ADD COLUMN "shadowExpire" varchar(200) NULL;'
)
],
)
]