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.

20210527174434_create_memberships_table.js 408B

12345678910111213
  1. exports.up = function(knex) {
  2. return knex.schema
  3. .createTable('groupings', function(table) {
  4. table.increments('grouping_id').primary()
  5. table.string('grouping_name', 128).notNullable()
  6. table.string('grouping_type', 128).notNullable() // Don't over normalize
  7. })
  8. }
  9. exports.down = function(knex) {
  10. return knex.schema
  11. .dropTable('groupings')
  12. }