Skip to content
Snippets Groups Projects
Commit d0e29c46 authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

New migration: inserted parent column on groups table

parent 4a9d4856
No related branches found
No related tags found
No related merge requests found
db/migrations/
db/seeds/
build/
node_modules/
......
exports.up = function(knex, Promise) {
return knex.schema.table('groups', function(t) {
t.integer('parent');
});
};
exports.down = function(knex, Promise) {
return knex.schema.table('groups', function(t) {
t.dropColumn('parent');
});
};
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