From fcba255c92b87ee5fff5f3a2703185c317241004 Mon Sep 17 00:00:00 2001 From: Michal Nawrocki Date: Thu, 21 Nov 2024 09:04:01 +0000 Subject: [PATCH] MAP-1839 adding view to simulate flyway db for generic-service db refresh requirments --- migrations/20241120000001_form_db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/20241120000001_form_db.js b/migrations/20241120000001_form_db.js index 968d8dc9..d0955c63 100644 --- a/migrations/20241120000001_form_db.js +++ b/migrations/20241120000001_form_db.js @@ -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;`) }