0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data/schema
Daniel Lockyer 11f64e91c0
Added extra handling for errors when adding foreign key
- this section of code handles the errors that arise when we add a
  foreign key to a table
- locally, I get different errors than the one listed - `ER_FK_DUP_KEY`
  and `ER_FK_DUP_NAME`
- I've been trying to find a good source for what each code is but it
  looks highly likely to be differences in DB engines
- we should probably handle these errors anyway because we don't want
  migrations to error out
2022-03-02 12:37:39 +01:00
..
clients Fixed "no-shadow" linting error in server/data modules (#12288) 2020-10-20 11:56:46 +13:00
default-settings Made default settings file location configurable 2022-02-21 20:06:20 +13:00
fixtures Added visible column to products table (#14221) 2022-03-01 18:11:59 +02:00
checks.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
commands.js Added extra handling for errors when adding foreign key 2022-03-02 12:37:39 +01:00
index.js Moved schema validator into the schema module 2021-06-15 11:54:34 +01:00
schema.js Added visible column to products table (#14221) 2022-03-01 18:11:59 +02:00
validator.js Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00