mirror of
https://github.com/knex/knex.git
synced 2025-07-06 16:41:22 +00:00
22 lines
566 B
JavaScript
22 lines
566 B
JavaScript
![]() |
|
||
|
var inherits = require('inherits');
|
||
|
var ColumnCompiler = require('../../../schema/columncompiler');
|
||
|
|
||
|
// Column Compiler
|
||
|
// -------
|
||
|
|
||
|
function ColumnCompiler_SQLite3() {
|
||
|
this.modifiers = ['nullable', 'defaultTo'];
|
||
|
ColumnCompiler.apply(this, arguments);
|
||
|
}
|
||
|
inherits(ColumnCompiler_SQLite3, ColumnCompiler);
|
||
|
|
||
|
// Types
|
||
|
// -------
|
||
|
|
||
|
ColumnCompiler_SQLite3.prototype.double =
|
||
|
ColumnCompiler_SQLite3.prototype.decimal =
|
||
|
ColumnCompiler_SQLite3.prototype.floating = 'float';
|
||
|
ColumnCompiler_SQLite3.prototype.timestamp = 'datetime';
|
||
|
|
||
|
module.exports = ColumnCompiler_SQLite3;
|