Commit b5e2548f7d79b016834c8ee6af3c0798842e8893
Exists in
master
Merge branch 'master' into 'master'
Master See merge request !7
Showing
1 changed file
Show diff stats
migrations/20190808123821_v0.14.0.js
1 | File was deleted | ||
2 | exports.up = function(knex) { | ||
3 | return knex.schema | ||
4 | .table('PMOVFACT', table => { | ||
5 | table.integer('cantidadRecibida'); | ||
6 | }) | ||
7 | .table('PMAEFACT', table => { | ||
8 | table.string('origen'); | ||
9 | }) | ||
10 | .table('PMAEFACT_TEMP', table => { | ||
11 | table.string('origen'); | ||
12 | }); | ||
13 | }; | ||
14 | |||
15 | exports.down = function(knex) { | ||
16 | return knex.schema | ||
17 | .table('PMOVFACT', table => { | ||
18 | table.dropColumn('cantidadRecibida'); | ||
19 | }) | ||
20 | .table('PMAEFACT', table => { | ||
21 | table.dropColumn('origen'); | ||
22 | }) | ||
23 | .table('PMAEFACT_TEMP', table => { | ||
24 | table.dropColumn('origen'); | ||
25 | }); | ||
26 | }; | ||
27 | 1 |