mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2025-02-20 02:10:31 +03:00
# Conflicts: # docs/schema_migrations.md # tests/sample_migrations/0010.py # tests/sample_migrations/0011.py
9 lines
363 B
Python
9 lines
363 B
Python
from infi.clickhouse_orm import migrations
|
|
|
|
operations = [
|
|
migrations.RunSQL("INSERT INTO `mig` (date, f1, f3, f4) VALUES ('2016-01-01', 1, 1, 'test') "),
|
|
migrations.RunSQL([
|
|
"INSERT INTO `mig` (date, f1, f3, f4) VALUES ('2016-01-02', 2, 2, 'test2') ",
|
|
"INSERT INTO `mig` (date, f1, f3, f4) VALUES ('2016-01-03', 3, 3, 'test3') ",
|
|
])
|
|
] |