nginx setup and make
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
exports.up = async knex => {
|
||||
await knex.schema.createTable('mtx', table => {
|
||||
table.uuid('id')
|
||||
.primary();
|
||||
|
||||
table.uuid('account')
|
||||
.notNullable()
|
||||
.index();
|
||||
|
||||
table.foreign('account')
|
||||
.references('id')
|
||||
.inTable('accounts')
|
||||
.onDelete('RESTRICT');
|
||||
|
||||
table.string('variant')
|
||||
.notNullable()
|
||||
.index();
|
||||
|
||||
table.timestamps(true, true);
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = async () => {};
|
||||
Reference in New Issue
Block a user