mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
parent
c8691a85c5
commit
f9561eed29
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function addTableColumn(tableName, table, columnName) {
|
|||
if (columnSpec.hasOwnProperty('nullable') && columnSpec.nullable === true) {
|
||||
column.nullable();
|
||||
} else {
|
||||
column.notNullable();
|
||||
column.nullable(false);
|
||||
}
|
||||
if (columnSpec.hasOwnProperty('primary') && columnSpec.primary === true) {
|
||||
column.primary();
|
||||
|
|
Loading…
Add table
Reference in a new issue