Created
May 28, 2014 22:15
-
-
Save gnarf/0a26d2e58952b459aa99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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