Skip to content

Commit

Permalink
MAP-1839 adding view to simulate flyway db for generic-service db ref…
Browse files Browse the repository at this point in the history
…resh requirments
  • Loading branch information
michalnawrockidj committed Nov 21, 2024
1 parent d7b9300 commit fcba255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/20241120000001_form_db.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exports.up = async knex => {
await knex.raw(`CREATE VIEW flyway_schema_history AS SELECT name as view FROM knex_migrations ORDER BY id;`)
await knex.raw(`CREATE VIEW flyway_schema_history AS SELECT name as version FROM knex_migrations ORDER BY id;`)
}

0 comments on commit fcba255

Please sign in to comment.