Skip to content

Commit bd3d939

Browse files
committed
just create the publication for all tables.
most convenient and should be just fine
1 parent 4659aa4 commit bd3d939

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wger/nutrition/migrations/0025_create_publication.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ class Migration(migrations.Migration):
1414
IF NOT EXISTS (
1515
SELECT 1 FROM pg_publication WHERE pubname = 'powersync'
1616
) THEN
17-
-- CREATE PUBLICATION powersync FOR ALL TABLES
18-
CREATE PUBLICATION powersync FOR TABLE nutrition_ingredient, exercises_muscle, auth_user;
17+
CREATE PUBLICATION powersync FOR ALL TABLES;
1918
END IF;
2019
END $$;
2120
""",

0 commit comments

Comments
 (0)