Added note column to members table

no-issue
This commit is contained in:
Fabien O'Carroll 2019-10-10 11:18:09 +07:00
parent 58651caa32
commit 0a40d11af9
2 changed files with 2 additions and 1 deletions

View File

@ -386,6 +386,7 @@ module.exports = {
id: {type: 'string', maxlength: 24, nullable: false, primary: true},
email: {type: 'string', maxlength: 191, nullable: false, unique: true, validations: {isEmail: true}},
name: {type: 'string', maxlength: 191, nullable: true},
note: {type: 'string', maxlength: 2000, nullable: true},
created_at: {type: 'dateTime', nullable: false},
created_by: {type: 'string', maxlength: 24, nullable: false},
updated_at: {type: 'dateTime', nullable: true},

View File

@ -19,7 +19,7 @@ var should = require('should'),
*/
describe('DB version integrity', function () {
// Only these variables should need updating
const currentSchemaHash = 'a5341373370dc25009806963c1bc236f';
const currentSchemaHash = 'c4a06e34d7792fd23d94f613b7d3d4fb';
const currentFixturesHash = 'c7b485fe2f16517295bd35c761129729';
// If this test is failing, then it is likely a change has been made that requires a DB version bump,