Update migrations with latest db structure changes
This commit is contained in:
parent
8afa93c708
commit
ca1b0fe883
@ -5,8 +5,8 @@ exports.up = (knex) => {
|
||||
table.string('email').notNullable().unique();
|
||||
table.string('password').notNullable();
|
||||
table.string('timezone');
|
||||
table.time('earliest_time');
|
||||
table.time('latest_time');
|
||||
table.string('earliest_time');
|
||||
table.string('latest_string');
|
||||
table.timestamps(true, true);
|
||||
});
|
||||
};
|
||||
|
@ -4,7 +4,6 @@ exports.up = (knex) => {
|
||||
table.string('title').notNullable();
|
||||
table.string('description');
|
||||
table.time('start_time');
|
||||
table.string('timezone').notNullable();
|
||||
table.integer('duration').notNullable();
|
||||
table.boolean('status').notNullable();
|
||||
table.string('password');
|
||||
|
@ -11,13 +11,10 @@ exports.up = (knex) => {
|
||||
.references('account.id')
|
||||
.onDelete('cascade');
|
||||
table.primary(['meeting_id', 'account_id']);
|
||||
table.time('earliest_time');
|
||||
table.time('latest_time');
|
||||
table.boolean('quorum');
|
||||
table.boolean('mandatory');
|
||||
table.boolean('host');
|
||||
table.boolean('answered');
|
||||
table.string('timezone').notNullable();
|
||||
table.boolean('host').notNullable();
|
||||
table.boolean('answered').notNullable();
|
||||
table.timestamps(true, true);
|
||||
});
|
||||
};
|
||||
|
@ -18,8 +18,7 @@ exports.up = (knex) => {
|
||||
.onDelete('cascade');
|
||||
table.boolean('preference').notNullable();
|
||||
table.time('start_time').notNullable();
|
||||
table.time('end_time').notNullable();
|
||||
table.string('timezone').notNullable();
|
||||
table.time('end_string').notNullable();
|
||||
table.timestamps(true, true);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user