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
443 B

  1. exports.up = knex => {
  2. return knex.schema
  3. .alterTable('pages', table => {
  4. table.json('extra').notNullable().defaultTo('{}')
  5. })
  6. .alterTable('pageHistory', table => {
  7. table.json('extra').notNullable().defaultTo('{}')
  8. })
  9. .alterTable('users', table => {
  10. table.string('dateFormat').notNullable().defaultTo('')
  11. table.string('appearance').notNullable().defaultTo('')
  12. })
  13. }
  14. exports.down = knex => { }