from dmigrations.mysql import migrations as m
import datetime
migration = m.Compound([
    m.AddColumn('ieeetags', 'resource', 'url_status', 'varchar(100) NOT NULL'),
    m.AddColumn('ieeetags', 'resource', 'url_date_checked', 'datetime'),
    m.AddColumn('ieeetags', 'resource', 'url_error', 'varchar(1000)'),
])

from dmigrations.mysql import migrations as m
import datetime

migration = m.Compound([
    m.AddColumn('ieeetags', 'society', 'logo_thumbnail',
                'varchar(100) NOT NULL'),
    m.AddColumn('ieeetags', 'society', 'logo_full', 'varchar(100) NOT NULL'),
])
Пример #3
0
from dmigrations.mysql import migrations as m
import datetime

migration = m.AddColumn('ieeetags', 'resource', 'conference_series',
                        'varchar(100) NOT NULL')
from dmigrations.mysql import migrations as m
import datetime
migration = m.AddColumn('ieeetags', 'resource', 'keywords',
                        'varchar(1000) NOT NULL')
Пример #5
0
from dmigrations.mysql import migrations as m
import datetime
migration = m.AddColumn('ieeetags', 'profile', 'last_login_time',
                        'datetime NULL')
from dmigrations.mysql import migrations as m
import datetime
migration = m.AddColumn('ieeetags', 'resource', 'date', 'date')
from dmigrations.mysql import migrations as m
import datetime
migration = m.AddColumn('ieeetags', 'profile', 'copied_resource', 'integer',
                        'ieeetags_resource')
from dmigrations.mysql import migrations as m
import datetime
migration = m.AddColumn('ieeetags', 'resource', 'completed', 'bool NOT NULL')