Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

just create the publication for all tables.

Dieter Plaetinckbd3d9397850a
diff --git a/wger/nutrition/migrations/0025_create_publication.py b/wger/nutrition/migrations/0025_create_publication.py
index 5d20a8827..3d61b69fb 100644
--- a/wger/nutrition/migrations/0025_create_publication.py
+++ b/wger/nutrition/migrations/0025_create_publication.py
@@ -14,8 +14,7 @@ class Migration(migrations.Migration):
IF NOT EXISTS (
SELECT 1 FROM pg_publication WHERE pubname = 'powersync'
) THEN
- -- CREATE PUBLICATION powersync FOR ALL TABLES
- CREATE PUBLICATION powersync FOR TABLE nutrition_ingredient, exercises_muscle, auth_user;
+ CREATE PUBLICATION powersync FOR ALL TABLES;
END IF;
END $$;
""",