mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-16 13:10:50 +02:00
11 lines
306 B
JavaScript
11 lines
306 B
JavaScript
exports.up = function(knex, Promise) {
|
|
return knex.schema.table('settings', function(t) {
|
|
t.boolean('api_allow').notNull().defaultTo(false);
|
|
});
|
|
};
|
|
|
|
exports.down = function(knex, Promise) {
|
|
return knex.schema.table('settings', function(t) {
|
|
t.dropColumn('api_allow');
|
|
});
|
|
}; |