0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/models
Fabien "egg" O'Carroll 1d73c17d5b Fixed unparsed booleans for "boolean" type columns
no-issue

Knex.js aliases "bool" -> "boolean" - this means that you can use either
one in our schema.json file and it'll correctly create the column. Our
model plugin however would only handle columns which used the "bool"
alias. This fixes the plugin to handle both strings.
2022-01-20 17:00:16 +02:00
..
base Fixed unparsed booleans for "boolean" type columns 2022-01-20 17:00:16 +02:00
relations Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
action.js Fixed dependency on the order of models 2021-10-21 16:57:36 +01:00
api-key.js Updated signature of Bookshelf model listeners 2021-09-10 16:59:11 +01:00
author.js
benefit.js Added Benefit model 2021-06-29 16:53:15 +01:00
custom-theme-setting.js Removed errant console.log 2021-10-14 20:38:02 +01:00
email-batch.js
email-recipient.js
email.js Updated signature of Bookshelf model listeners 2021-09-10 16:59:11 +01:00
index.js Refactored model init to be implicit 2021-10-21 17:01:26 +01:00
integration.js Updated signature of Bookshelf model listeners 2021-09-10 16:59:11 +01:00
invite.js Replaced i18n.t w/ tpl in core/server/models (#13464) 2021-10-06 11:43:54 +01:00
label.js Replaced i18n.t w/ tpl in core/server/models (#13464) 2021-10-06 11:43:54 +01:00
member-analytic-event.js Added temporary database table for analytic events (#13312) 2021-09-17 11:15:21 +02:00
member-email-change-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-login-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-paid-subscription-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-payment-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-product-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-status-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-stripe-customer.js
member-subscribe-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member.js Added relation between Member & OfferRedemption 2021-10-21 15:39:26 +02:00
mobiledoc-revision.js
offer-redemption.js Added OfferRedemption model 2021-10-15 16:56:04 +02:00
offer.js Added model for offers table 2021-10-04 12:03:36 +05:30
permission.js
post.js Replaced i18n.t w/ tpl in core/server/models (#13464) 2021-10-06 11:43:54 +01:00
posts-meta.js Added email_only column to posts_meta table 2021-08-05 19:44:35 +12:00
product.js Added active column to products table (#14016) 2022-01-20 15:50:18 +02:00
role.js Replaced i18n.t w/ tpl in core/server/models (#13464) 2021-10-06 11:43:54 +01:00
session.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
settings.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
single-use-token.js Updated SingleUseToken grace period to 10 minutes (#13926) 2022-01-03 17:55:53 +02:00
snippet.js
stripe-customer-subscription.js
stripe-price.js
stripe-product.js
tag-public.js
tag.js 🐛 Fixed "Create Post" action error in Zapier when assigning new tags (#13972) 2022-01-14 13:37:20 +00:00
user.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00
webhook.js Updated signature of Bookshelf model listeners 2021-09-10 16:59:11 +01:00