WiP on mailers
This commit is contained in:
parent
e97415c237
commit
a4ee1534cc
46 changed files with 1263 additions and 529 deletions
|
@ -37,6 +37,7 @@ exports.up = (knex, Promise) => (async() => {
|
|||
await knex.schema.table('lists', table => {
|
||||
table.string('contact_email');
|
||||
table.string('homepage');
|
||||
table.integer('send_configuration').unsigned().references(`send_configurations.id`);
|
||||
});
|
||||
|
||||
const settingsRows = await knex('settings').select(['key', 'value']);
|
||||
|
@ -101,6 +102,8 @@ exports.up = (knex, Promise) => (async() => {
|
|||
namespace: getGlobalNamespaceId()
|
||||
});
|
||||
|
||||
await knex('lists').update({send_configuration: getSystemSendConfigurationId()});
|
||||
|
||||
await knex('settings').del();
|
||||
await knex('settings').insert([
|
||||
{ key: 'uaCode', value: settings.uaCode },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue