|
|
|
@ -14,7 +14,8 @@ class Migration(migrations.Migration): |
|
|
|
|
|
|
|
operations = [ |
|
|
|
migrations.RunSQL( |
|
|
|
"DROP TABLE `flowcache`; " |
|
|
|
( |
|
|
|
"DROP TABLE `flowcache`;", |
|
|
|
"CREATE TABLE `flowcache` ( " |
|
|
|
" `last_time` INT(10) UNSIGNED NOT NULL, " |
|
|
|
" `abon_id` INT(11) DEFAULT NULL UNIQUE, " |
|
|
|
@ -23,4 +24,5 @@ class Migration(migrations.Migration): |
|
|
|
" KEY `flowcache_abon_id_91e1085d` (`abon_id`) " |
|
|
|
") ENGINE = MEMORY DEFAULT CHARSET = utf8;" |
|
|
|
) |
|
|
|
) |
|
|
|
] |