some project update
[worddb.git] / migrations / 005_django_contrib_sites_models.py
blob5de745d8e9ffbfeacfe82265e04112cda796aa50
1 from dmigrations.mysql import migrations as m
2 import datetime
3 migration = m.Migration(sql_up=["""
4 CREATE TABLE `django_site` (
5 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
6 `domain` varchar(100) NOT NULL,
7 `name` varchar(50) NOT NULL
8 ) ENGINE=InnoDB DEFAULT CHARSET=utf8
10 """], sql_down=["""
11 DROP TABLE `django_site`;
12 """])