Added sample apache conf.

Fixed fields (source column was not created/deleted when a new column was added/removed)
This commit is contained in:
Tomas Bures 2018-11-24 06:45:41 +01:00
parent 43c6b58793
commit 106acd0656
4 changed files with 108 additions and 15 deletions

View file

@ -550,6 +550,9 @@ async function create(context, listId, entity) {
table.index(columnName);
}
});
// Altough this is a reference to another list, it is represented as signed int(11). This is because we use negative values for constant from SubscriptionSource
await knex.schema.raw('ALTER TABLE `subscription__' + listId + '` ADD `source_' + columnName +'` int(11) DEFAULT NULL');
}
return id;