Added sample apache conf.
Fixed fields (source column was not created/deleted when a new column was added/removed)
This commit is contained in:
parent
43c6b58793
commit
106acd0656
4 changed files with 108 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue