mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
WIP
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
exports.up = function (knex) {
|
||||
return knex.schema.createTable('role_has_accounts', (table) => {
|
||||
table.increments();
|
||||
table.integer('role_id').unsigned().references('id').inTable('roles');
|
||||
table.integer('account_id').unsigned().references('id').inTable('accounts');
|
||||
table.integer('role_id').unsigned();
|
||||
table.integer('account_id').unsigned();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user