Browse Source

split sql

devel
Dmitry Novikov 8 years ago
parent
commit
9633c6e908
  1. 4
      statistics/migrations/0003_auto_20180814_1921.py

4
statistics/migrations/0003_auto_20180814_1921.py

@ -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;"
)
)
]
Loading…
Cancel
Save