UNPKG

pimatic

Version:

A home automation server and framework for the Raspberry PI running on node.js

23 lines (16 loc) 559 B
import inherits from 'inherits'; import ColumnCompiler from '../../../schema/columncompiler'; // Column Compiler // ------- function ColumnCompiler_SQLite3() { ColumnCompiler.apply(this, arguments); this.modifiers = ['nullable', 'defaultTo']; } inherits(ColumnCompiler_SQLite3, ColumnCompiler); // Types // ------- ColumnCompiler_SQLite3.prototype.double = ColumnCompiler_SQLite3.prototype.decimal = ColumnCompiler_SQLite3.prototype.floating = 'float'; ColumnCompiler_SQLite3.prototype.timestamp = 'datetime'; export default ColumnCompiler_SQLite3;