graphql-engine/server/src-rsr/migrations
nizar-m 0e666a9203
Fix catalog version for v1.1.1 (close #4354) (#4355)
* Fix catalog version for v1.1.1

* Remove entries of removed tables from hdb_catalog

While downgrading catalog version from 32 -> 31, not removing entries
in hdb_table and hdb_relationship for the tables that are removed in
the downgrade, results in incosistent schema, when the server with
downgraded version is started. This should probably be handled in
a better fashion.

With the change in this commit, the server is able to successfully
start with downgraded catalog version 31.

* Test downgrade command along with upgrade tests
2020-04-09 19:57:59 -05:00
..
1_to_2.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
2_to_3.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
4_to_5.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
5_to_6.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
6_to_7.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
7_to_8.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
8_to_9.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
9_to_10.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
08_to_1.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
10_to_11.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
11_to_12.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
12_to_13.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
13_to_12.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
13_to_14.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
14_to_13.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
14_to_15.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
15_to_14.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
15_to_16.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
16_to_15.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
16_to_17.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
17_to_16.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
17_to_18.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
18_to_17.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
18_to_19.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
19_to_18.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
19_to_20.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
20_to_19.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
20_to_21.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
21_to_20.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
21_to_22.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
22_to_21.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
22_to_23.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
23_to_22.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
23_to_24.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
24_to_23.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
24_to_25.sql Make catalog metadata migrations work on all schema versions (fix #2826) (#2379) 2019-10-11 00:13:57 -05:00
25_to_24.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
25_to_26.sql support computed fields returning scalars or set of tables (close #1387) (#2917) 2019-10-18 13:59:47 +05:30
26_to_25.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
26_to_27.sql improve event fetch query (#3236) 2019-11-13 12:59:19 +05:30
27_to_26.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
27_to_28.sql functions can access session info via input arg (close #2322) (#3143) 2019-11-20 12:17:06 +05:30
28_to_27.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
28_to_29.sql remove hdb_views for inserts (#3598) 2020-01-16 10:23:28 +05:30
29_to_28.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
29_to_30.sql allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
30_to_29.sql Add downgrade command (close #1156) (#3760) 2020-02-07 16:33:12 +05:30
30_to_31.sql Explicitly invalidate enum values when metadata is reloaded 2020-01-30 18:17:29 -06:00
31_to_30.sql Explicitly invalidate enum values when metadata is reloaded 2020-01-30 18:17:29 -06:00
31_to_32.sql allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
32_to_31.sql Fix catalog version for v1.1.1 (close #4354) (#4355) 2020-04-09 19:57:59 -05:00
32_to_33.sql server(events): utilize proper backpressure scheme (close #3839) (#4013) 2020-03-11 11:57:31 +05:30
33_to_32.sql server(events): utilize proper backpressure scheme (close #3839) (#4013) 2020-03-11 11:57:31 +05:30
33_to_34.sql Remove any outstanding hdb_views (fixes #3940) (#3965) 2020-03-26 15:42:33 -05:00
34_to_33.sql Remove any outstanding hdb_views (fixes #3940) (#3965) 2020-03-26 15:42:33 -05:00