Skip to content

Commit 13aa86c

Browse files
committed
fix sqlite tests
1 parent 562baae commit 13aa86c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/apps/migrations/auto/integration/test_migrations.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
from piccolo.table import Table, create_table_class
1616
from piccolo.apps.migrations.tables import Migration
1717
from piccolo.utils.sync import run_sync
18+
from tests.base import postgres_only
1819

1920

21+
@postgres_only
2022
class TestMigrations(TestCase):
2123
def tearDown(self):
2224
create_table_class("MyTable").alter().drop_table(
@@ -61,6 +63,9 @@ def _test_migrations(self, table_classes: t.List[t.Type[Table]]):
6163

6264
# TODO - check the migrations ran correctly
6365

66+
###########################################################################
67+
# Writing all of these by hand is going to be really tedious ...
68+
6469
def test_add_varchar_column(self):
6570
self._test_migrations(
6671
table_classes=[

0 commit comments

Comments
 (0)