Ghost/core
kirrg001 974c6071e8 🐛 fix brute schema
no issue

- brute-knex uses timestamp type, see https://github.com/llambda/brute-knex/blob/master/index.js
- so we also defined timestamp type
- see http://stackoverflow.com/questions/9192027/invalid-default-value-for-create-date-timestamp-field
- see http://stackoverflow.com/questions/35237278/mysql-invalid-default-value-for-timestamp-when-no-default-value-is-given
- mysql does not allow a second timestamp without default value
- we have to options: define a default value or allow null or use dateTime
- let's use dateTime, as 1. we are using it for all our dates in Ghost and 2. it's recommended
- read here http://www.sqlteam.com/article/timestamps-vs-datetime-data-types
- there are some difference, i think the most important difference is that TIMESTAMP changes if the tz changes in your database
- lifetime is timestamp not a bigInteger, this was a mistake i think (see https://github.com/llambda/brute-knex/blob/master/index.js#L115)
2016-11-09 12:14:26 +01:00
..
client@acbaccfbd4 Updated Ghost-Admin to 1.0.0-alpha.8 2016-11-08 15:26:37 +01:00
server 🐛 fix brute schema 2016-11-09 12:14:26 +01:00
shared move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
test 🎨 public client registration updates (#7690) 2016-11-08 14:21:25 +00:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00