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.

20220313233557_create_aspects_table.js 387B

12345678910111213
  1. const matrix = require('../generated/prescore_matrix.json')
  2. exports.up = function (knex) {
  3. return knex.schema.createTable('aspect_labels', function (table) {
  4. table.integer('aspect_id').primary()
  5. table.smallint('a').notNullable()
  6. table.smallint('b').notNullable()
  7. })
  8. }
  9. exports.down = function (knex) {
  10. return knex.schema.dropTable('aspect_labels')
  11. }