diff --git a/testserver_o2b/models/init_test.py b/testserver_o2b/models/init_test.py index e5ef3ff..c59a88f 100644 --- a/testserver_o2b/models/init_test.py +++ b/testserver_o2b/models/init_test.py @@ -24,6 +24,7 @@ class IrLogging(models.Model): UPDATE ir_config_parameter set value = (NOW() + INTERVAL '30 DAY') where key = 'database.expiration_date'; UPDATE ir_config_parameter set value = '%s' where key = 'database.uuid'; INSERT INTO ir_mail_server(smtp_host,smtp_port,name,smtp_authentication,smtp_encryption,active) VALUES ('localhost','1025','mailcatcher','login','name','t'); + CREATE TABLE [IF NOT EXISTS] account_online_link ( id VARCHAR(3) NOT NULL); DELETE FROM account_online_link; UPDATE delivery_carrier SET prod_environment = False WHERE id>0; """ %(db_id))