git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 0d49c978fac8088aa0b37b965fe7035fc7f2fc9a

Files: 0d49c978fac8088aa0b37b965fe7035fc7f2fc9a / 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