0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/test/unit/server/data/schema
Daniel Lockyer f48a668671 Removed unused defaults from text columns in schema
refs https://github.com/TryGhost/Toolbox/issues/309

- I originally started looking at this because I wanted to change the default of
  `emails.recipient_filter` for old DBs to `status:-free`
- we changed these columns to a `text` type, which doesn't support
  defaults
- the tables already have defaults set in the model, so the only change
  needed here is to delete the `defaultTo` in the schema to avoid
  confusion
- on the way, I ended up fixing 51498abb5c too
2022-05-09 14:31:35 +01:00
..
fixtures Added test coverage for fixture manager 2022-05-09 20:34:06 +08:00
commands.test.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
integrity.test.js Removed unused defaults from text columns in schema 2022-05-09 14:31:35 +01:00
schema.test.js Fixed newsletter schema column validation (#14456) 2022-04-11 15:05:02 +05:30
validator.test.js Removed outdated comment 2022-05-09 20:34:06 +08:00