Commit 2ea3df3ee537a7886f33582491e2e4685974b0c8
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !6
Showing
1 changed file
Show diff stats
migrations/20190808123821_v0.14.0.js
| ... | ... | @@ -6,6 +6,9 @@ exports.up = function(knex) { |
| 6 | 6 | }) |
| 7 | 7 | .table('PMAEFACT', table => { |
| 8 | 8 | table.string('origen'); |
| 9 | + }) | |
| 10 | + .table('PMAEFACT_TEMP', table => { | |
| 11 | + table.string('origen'); | |
| 9 | 12 | }); |
| 10 | 13 | }; |
| 11 | 14 | |
| ... | ... | @@ -16,5 +19,8 @@ exports.down = function(knex) { |
| 16 | 19 | }) |
| 17 | 20 | .table('PMAEFACT', table => { |
| 18 | 21 | table.dropColumn('origen'); |
| 22 | + }) | |
| 23 | + .table('PMAEFACT_TEMP', table => { | |
| 24 | + table.dropColumn('origen'); | |
| 19 | 25 | }); |
| 20 | 26 | }; |