0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/models
Fabien O'Carroll 95880dddeb
🐛 Updated base model to store null instead of empty string (#10425)
refs #10388 

This updates the base model to retrieve column information, and explicitly set every property whose column is `nullable` and content is the empty string (`""`) to `null`
2019-01-28 16:58:28 +01:00
..
base 🐛 Updated base model to store null instead of empty string (#10425) 2019-01-28 16:58:28 +01:00
plugins Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
relations Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
accesstoken.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
api-key.js Shortened admin key length (#10418) 2019-01-24 13:46:33 +00:00
app-field.js
app-setting.js
app.js Updated permittedOptions to correctly call super 2018-09-21 12:15:29 +02:00
author.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
client-trusted-domain.js
client.js Updated permittedOptions to correctly call super 2018-09-21 12:15:29 +02:00
index.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
integration.js Added HTTP BREAD for integrations resource (#9985) 2018-10-18 14:03:56 +01:00
invite.js Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
member.js Added members related db changes and models 2018-12-11 11:53:55 +07:00
mobiledoc-revision.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
permission.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
post.js 🐛 Updated base model to store null instead of empty string (#10425) 2019-01-28 16:58:28 +01:00
refreshtoken.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
role.js Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
session.js Removed user_id constraint when upserting session (#10085) 2018-10-30 16:15:48 +07:00
settings.js Added members related db changes and models 2018-12-11 11:53:55 +07:00
subscriber.js Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
tag-public.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
tag.js 🐛 Updated base model to store null instead of empty string (#10425) 2019-01-28 16:58:28 +01:00
user.js 🐛 Updated base model to store null instead of empty string (#10425) 2019-01-28 16:58:28 +01:00
webhook.js Updated webhooks schema and add relation (#10018) 2018-10-17 18:17:13 +07:00