File manager - Edit - /usr/local/lib/node_modules/knex-migrator/node_modules/knex/lib/dialects/sqlite3/schema/columncompiler.js
Back
const { inherits } = require('util'); const ColumnCompiler = require('../../../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'; ColumnCompiler_SQLite3.prototype.enu = function (allowed) { return `text check (${this.formatter.wrap(this.args[0])} in ('${allowed.join( "', '" )}'))`; }; ColumnCompiler_SQLite3.prototype.json = 'json'; module.exports = ColumnCompiler_SQLite3;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings