db-migrate-shared
Version:
Shared resources of db-migrate for drivers and also used internally.
20 lines (19 loc) • 368 B
JavaScript
module.exports = {
CHAR: 'char',
STRING: 'string',
TEXT: 'text',
SMALLINT: 'smallint',
BIGINT: 'bigint',
INTEGER: 'int',
SMALL_INTEGER: 'smallint',
BIG_INTEGER: 'bigint',
REAL: 'real',
DATE: 'date',
DATE_TIME: 'datetime',
TIME: 'time',
BLOB: 'blob',
TIMESTAMP: 'timestamp',
BINARY: 'binary',
BOOLEAN: 'boolean',
DECIMAL: 'decimal'
};