mirror of
https://github.com/strapi/strapi.git
synced 2025-11-15 01:28:07 +00:00
Fix typo
This commit is contained in:
parent
4213aed07b
commit
06c9939fa7
@ -199,10 +199,6 @@ const createHelpers = db => {
|
|||||||
const createColumn = (tableBuilder, column) => {
|
const createColumn = (tableBuilder, column) => {
|
||||||
const { type, name, args = [], defaultTo, unsigned, notNullable } = column;
|
const { type, name, args = [], defaultTo, unsigned, notNullable } = column;
|
||||||
|
|
||||||
if (name === 'id') {
|
|
||||||
console.log(name, column);
|
|
||||||
}
|
|
||||||
|
|
||||||
const col = tableBuilder[type](name, ...args);
|
const col = tableBuilder[type](name, ...args);
|
||||||
|
|
||||||
if (unsigned === true) {
|
if (unsigned === true) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user