mirror of
https://github.com/knex/knex.git
synced 2025-07-30 12:23:03 +00:00

* Fixed some of the tests failing with various dialect combinations * Setup all test databases to run in docker * Fixed test suite and updated travis to use docker * Fixed some tests in master and disabled oracle tests while setting everything else to work again * Changed docker to use latest postgresql alpine image * Re-enabled all oracledb tests * Install oracle client libs to oracle server and copy them to travis to make node oracledb package to work * Disabled random failing oracle tests and added test to show that oracle update in transaction does not seem to work ACID * Update package.json * Update package.json * Fixed linting issues * Fixed waiting for postgres to use the same DB image that database is using. * Removed installing oracledb driver in travis if not needed .travis.yml * Cleaned up package.json more * Created static name for oracledb container to allow copying files out of it on different docker versions * Removed webpack from deps
14 lines
313 B
JavaScript
14 lines
313 B
JavaScript
exports.up = function(knex, Promise) {
|
|
return knex.schema.createTable('null_date', function(t) {
|
|
t.increments('id').primary();
|
|
t.string('dummy');
|
|
t.timestamp('deleted_at')
|
|
.nullable()
|
|
.defaultTo(null);
|
|
});
|
|
};
|
|
|
|
exports.down = (knex) => {
|
|
return knex.schema.dropTable('null_date');
|
|
};
|