You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
408 B
15 lines
408 B
|
|
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) { |
|
|
|
};
|
|
|