mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Added note column to members table
no-issue
This commit is contained in:
parent
58651caa32
commit
0a40d11af9
2 changed files with 2 additions and 1 deletions
|
@ -386,6 +386,7 @@ module.exports = {
|
||||||
id: {type: 'string', maxlength: 24, nullable: false, primary: true},
|
id: {type: 'string', maxlength: 24, nullable: false, primary: true},
|
||||||
email: {type: 'string', maxlength: 191, nullable: false, unique: true, validations: {isEmail: true}},
|
email: {type: 'string', maxlength: 191, nullable: false, unique: true, validations: {isEmail: true}},
|
||||||
name: {type: 'string', maxlength: 191, nullable: true},
|
name: {type: 'string', maxlength: 191, nullable: true},
|
||||||
|
note: {type: 'string', maxlength: 2000, nullable: true},
|
||||||
created_at: {type: 'dateTime', nullable: false},
|
created_at: {type: 'dateTime', nullable: false},
|
||||||
created_by: {type: 'string', maxlength: 24, nullable: false},
|
created_by: {type: 'string', maxlength: 24, nullable: false},
|
||||||
updated_at: {type: 'dateTime', nullable: true},
|
updated_at: {type: 'dateTime', nullable: true},
|
||||||
|
|
|
@ -19,7 +19,7 @@ var should = require('should'),
|
||||||
*/
|
*/
|
||||||
describe('DB version integrity', function () {
|
describe('DB version integrity', function () {
|
||||||
// Only these variables should need updating
|
// Only these variables should need updating
|
||||||
const currentSchemaHash = 'a5341373370dc25009806963c1bc236f';
|
const currentSchemaHash = 'c4a06e34d7792fd23d94f613b7d3d4fb';
|
||||||
const currentFixturesHash = 'c7b485fe2f16517295bd35c761129729';
|
const currentFixturesHash = 'c7b485fe2f16517295bd35c761129729';
|
||||||
|
|
||||||
// If this test is failing, then it is likely a change has been made that requires a DB version bump,
|
// If this test is failing, then it is likely a change has been made that requires a DB version bump,
|
||||||
|
|
Loading…
Add table
Reference in a new issue