mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
Migrate from Vue to React framework.
This commit is contained in:
@@ -205,13 +205,14 @@ factory.define('view_role', 'view_roles', async () => {
|
||||
};
|
||||
});
|
||||
|
||||
factory.define('view_has_columns', 'view_has_columns', async () => {
|
||||
factory.define('view_column', 'view_has_columns', async () => {
|
||||
const view = await factory.create('view');
|
||||
const field = await factory.create('resource_field');
|
||||
|
||||
return {
|
||||
field_id: field.id,
|
||||
view_id: view.id,
|
||||
// index: 1,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ exports.up = function (knex) {
|
||||
table.increments();
|
||||
table.integer('view_id').unsigned();
|
||||
table.integer('field_id').unsigned();
|
||||
table.integer('index').unsigned();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
exports.up = function(knex) {
|
||||
|
||||
};
|
||||
|
||||
exports.down = function(knex) {
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user