Browse Source

refactor: add additional columns in project_user

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1668/head
Pranav C 3 years ago
parent
commit
e7a1fd3322
  1. 10
      packages/nocodb/src/lib/noco/migrations/nc_011.ts

10
packages/nocodb/src/lib/noco/migrations/nc_011.ts

@ -747,8 +747,16 @@ const up = async knex => {
table.foreign('project_id').references(`${MetaTable.PROJECT}.id`);
table.string('fk_user_id', 20);
table.foreign('fk_user_id').references(`${MetaTable.USERS}.id`);
// todo
table.text('roles');
table.boolean('starred');
table.boolean('pinned');
table.string('group');
table.string('color');
table.float('order');
table.float('hidden');
table.timestamp('opened_date');
table.timestamps(true, true);
});

Loading…
Cancel
Save