1 | exports.up = async function(knex, Promise) {
|
2 | await knex.schema.alterTable("contents", table => {
|
3 | table.datetime("visibleFrom");
|
4 | table.datetime("visibleUntil");
|
5 | });
|
6 | };
|
7 |
|
8 | exports.down = async function(knex, Promise) {
|
9 | await knex.schema.alterTable("contents", table => {
|
10 | table.dropColumn("visibleFrom");
|
11 | table.dropColumn("visibleUntil");
|
12 | });
|
13 | };
|