mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
143ae857c9
refs https://github.com/TryGhost/Toolbox/issues/441 - we tend to have a mix of `bool` and `boolean` in the schema and migrations, which has become a real nit for me at this point - we don't do any special handling between `bool` and `boolean`, it's just something we pass to Knex - `bool` is an alias for `boolean` but `boolean` is actually documented - https://knexjs.org/guide/schema-builder.html#boolean - this commit switches Ghost to only using `boolean` in the schema and migrations, and removes `bool` from the allowlist in tests to prevent us from adding it again in the future - this should make absolutely no difference to the DB because both resulted in the same column |
||
---|---|---|
.. | ||
adapters | ||
data | ||
lib | ||
models | ||
services | ||
web | ||
notify.test.js | ||
overrides.test.js |