Fix "default models" setting for Catapult DB mirror
this gives us all data required for subsequent Catapult (mirror) -> Theo
This commit is contained in:
parent
fcdbed1e23
commit
41fd8d701c
2
machines/theo-server/fabfile.py
vendored
2
machines/theo-server/fabfile.py
vendored
|
@ -266,7 +266,7 @@ def install_theo_app(c, envname, production, port, from_source=False,
|
|||
if env.theo_mirror_posdb and env.theo_integrates_with == 'catapult':
|
||||
postgresql.sql(c, "insert into setting values ('tailbone.engines.catapult.pretend_default', 'mirror')",
|
||||
database=dbname)
|
||||
postgresql.sql(c, "insert into setting values ('rattail_onager.catapult.importing.db.default_models', 'VersionInfo Department Vendor Brand FamilyLine StockInventory Prefix Suffix Customer Employee PhoneDescription Phone EmailDescription Email AddressDescription Address')",
|
||||
postgresql.sql(c, "insert into setting values ('rattail_onager.catapult.importing.db.default_models', 'VersionInfo Store Department Vendor Brand FamilyLine ComboGroupProfile WeightProfile PricingLevelInfo DiscountProfile StockInventory PricingLevelDetail Prefix Suffix DiscountGroup Customer Employee PhoneDescription Phone EmailDescription Email AddressDescription Address')",
|
||||
database=dbname)
|
||||
postgresql.sql(c, "insert into setting values ('rattail.mail.rattail_onager_import_catapult_updates.subject', 'Changes for Catapult (production) -> Catapult (mirror)')",
|
||||
database=dbname)
|
||||
|
|
Loading…
Reference in a new issue