Garrit Franke
3 years ago
8 changed files with 23 additions and 33 deletions
@ -1,15 +0,0 @@
|
||||
|
||||
exports.up = function(knex) { |
||||
// create a shape table with an array of coordinates, color and background color
|
||||
return knex.schema.createTable('shape', function(table) { |
||||
table.increments('id').primary(); |
||||
table.string('name'); |
||||
table.string('color'); |
||||
table.string('background_color'); |
||||
table.string('coordinates'); |
||||
} |
||||
}; |
||||
|
||||
exports.down = function(knex) { |
||||
|
||||
}; |
Loading…
Reference in new issue