mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
f2a7790cc9
no issue - This solves a problem when connected Stripe plan doesn't have plan `nickname` filled out (possible with older versions of Stripe API) - Defaulting to empty string instead of creating a migration because SQLite doesn't support `ALTER ... MODIFY` syntax and thus knex can't altter the table that easy - "Marks the column as an alter / modify, instead of the default add. Note: This only works in .alterTable() and is not supported by SQlite or Amazon Redshift. Alter is not done incrementally over older column type so if you like to add notNull and keep the old default value, the alter statement must contain both .notNull().defaultTo(1).alter(). If one just tries to add .notNull().alter() the old default value will be dropped." (ref. https://knexjs.org/#Chainable) |
||
---|---|---|
.. | ||
stripe | ||
common.js | ||
metadata.js | ||
tokens.js | ||
users.js |