Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
exports.up = function (knex) {
return knex.schema.createTable('list', function (t) {
t.increments('id');
t.integer('owner_id').notNullable();
t.text('name').notNullable();
t.timestamp('last_modified');
});
};
exports.down = function (knex) {
return knex.schema.dropTableIfExists('list');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.