Commit a7d28dfb6dd16ca5433528d9f4e70d2d7c61a3bb

Authored by Marcelo Aiello
1 parent ae288c18d3
Exists in master

agregamos espacios en blanco

1 // Update with your config settings. 1 // Update with your config settings.
2 2
3 module.exports = { 3 module.exports = {
4 estacion: {-client: 'mssql', 4 estacion: {client: 'mssql',
5 connection: {-host: 'iphost', 5 connection: {host: 'iphost',
6 database: 'my_db', 6 database: 'my_db',
7 user: 'username', 7 user: 'username',
8 password: 'password' 8 password: 'password'
9 } 9 }
10 } 10 }
11 };
11 };
migrations/20191003120035_v0.14.2.js
1 exports.up = function(knex) { 1 exports.up = function(knex) {
2 return knex.schema 2 return knex.schema
3 .createTable('orden_carga', function(table) { 3 .createTable('orden_carga', function(table) {
4 table.increments(); 4 table.increments();
5 table.bigInteger('idHojaRuta'); 5 table.bigInteger('idHojaRuta');
6 table.bigInteger('idCisterna'); 6 table.bigInteger('idCisterna');
7 table.decimal('cantidadACargar', 12, 2); 7 table.decimal('cantidadACargar', 12, 2);
8 table.integer('estado'); 8 table.integer('estado');
9 }) 9 })
10 }; 10 };
11 11
12 exports.down = function(knex) { 12 exports.down = function(knex) {
13 return knex.schema 13 return knex.schema
14 .dropTable('orden_carga') 14 .dropTable('orden_carga')
15 };
15 };