You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
bandolier-website/migrations/20210828133355_site_metadat...

16 lines
430 B

exports.up = async (knex) => {
// the site table is just a glorified map of key/values for different arbitrary settings
// and data collection.
await knex.schema.createTable('site', (table) => {
table.increments('id');
table.timestamps(true, true);
table.string("key").unique().notNullable();
table.json("value");
});
};
exports.down = async (knex) => {
return await knex.schema.dropTable('site');
};