Skip to content
Snippets Groups Projects
Commit e0430273 authored by Anatole ROMON's avatar Anatole ROMON
Browse files

travail

parent 9803fc32
No related branches found
No related tags found
No related merge requests found
exports.up = function(knex, Promise) { exports.up = function(knex, Promise) {
return knex.schema.createTable('requests', function (table) { return knex.schema.createTable('user_join_group_requests', function (table) {
table.timestamps(true, true);
table.increments('id');
table.string('userUID').notNullable();
table.string('groupUID').notNullable();
table.text('message')
}); });
}; };
exports.down = function(knex, Promise) { exports.down = function(knex, Promise) {
return knex.schema.dropTable('user_join_group_requests')
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment