auto-cms-server
Version:
Auto turn any webpage into editable CMS without coding.
15 lines (14 loc) • 496 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.up = up;
exports.down = down;
// prettier-ignore
async function up(knex) {
await knex.raw('alter table `request` add column `lang` text null');
await knex.raw('alter table `request` add column `is_admin` boolean null');
}
// prettier-ignore
async function down(knex) {
await knex.raw('alter table `request` drop column `is_admin`');
await knex.raw('alter table `request` drop column `lang`');
}