Commit 89f4ea92c2e546c1e198c4cbd7af1f5e1972804e
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !5
Showing
1 changed file
Show diff stats
migrations/20190808123821_v0.14.0.js
File was created | 1 | ||
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 | }; | ||
11 | |||
12 | exports.down = function(knex) { | ||
13 | return knex.schema | ||
14 | .table('PMOVFACT', table => { | ||
15 | table.dropColumn('cantidadRecibida'); | ||
16 | }) | ||
17 | .table('PMAEFACT', table => { | ||
18 | table.dropColumn('origen'); | ||
19 | }); | ||
20 | }; | ||
21 |