mirror of
https://github.com/harish2704/sequelize-migration-generator.git
synced 2026-09-10 06:31:07 +00:00
Fix
This commit is contained in:
@@ -63,6 +63,7 @@ function Field( attr ){
|
||||
|
||||
this.autoIncrement = new Val( attr.autoIncrement );
|
||||
this.allowNull = new Val( attr.allowNull );
|
||||
this.defaultValue = new Val( attr.defaultValue );
|
||||
this.primaryKey = new Val( attr.primaryKey );
|
||||
this.onDelete = new QuotedVal( attr.onDelete );
|
||||
this.onUpdate = new QuotedVal( attr.onUpdate );
|
||||
@@ -82,6 +83,7 @@ Field.create = function( attr ){
|
||||
Field.opts = [
|
||||
'autoIncrement',
|
||||
'allowNull',
|
||||
'defaultValue',
|
||||
'primaryKey',
|
||||
'onDelete',
|
||||
'onUpdate'
|
||||
|
||||
Reference in New Issue
Block a user