Commit 0616873c953a07f3598bc358a5082e49e63cc4c5
1 parent
37267e8d60
Exists in
master
no migration2
Showing
1 changed file
with
0 additions
and
26 deletions
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 |