Commit 37267e8d60d834533a43e6a5bb21cf54a831ab1b
1 parent
a99d3ab611
Exists in
master
origin in pmaeffact_temp
Showing
1 changed file
with
6 additions
and
0 deletions
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 | }; |