git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 9d67b590db76e98e5b5b7bb977d7e2337173be05

Files: 9d67b590db76e98e5b5b7bb977d7e2337173be05 / migrations / 20160108004846_create_todos.js

291 bytesRaw
1exports.up = function(knex, Promise) {
2 return knex.schema.createTableIfNotExists('todos', function(table) {
3 table.increments('id')
4 table.string('text')
5 table.boolean('complete')
6 })
7}
8
9exports.down = function(knex, Promise) {
10 return knex.schema.dropTableIfExists('todos')
11}
12

Built with git-ssb-web