Skip to content
Snippets Groups Projects
Commit 2478963a authored by Marcin's avatar Marcin
Browse files

remove hafd.table_schema table

After many changes hash computed on databse could only be used to
check if  hfm can be updated to a given new version. The hash cannot be used
to check if the database schema for a given hfm version was modified,
becuase it does not take all haf elements for computation. It means
there is no need to have stored hash of the databas because it has no
usage, moreover it is misleading and could mask that the some parts of
 the schema was modified.

Warning: the change modifies hafd schema, what means that old hfm
versions cannot be updated to it.
parent f0abad06
No related branches found
No related tags found
6 merge requests!627merge in fix for get_current_block_age,!626Fix get_current_block_age function to avoid healthcheck fails,!622merge develop to master,!599merge ( with merge commit) develop to master,!597Merge develop to master for release,!590issue #259 automaticly get tables to db hash computation
......@@ -4,7 +4,6 @@ ADD_PSQL_EXTENSION(
context_rewind/data_schema_types.sql
application_loop/stages.sql
context_rewind/data_schema.sql
context_rewind/table_schema.sql
events_queue.sql
forks.sql
app_context.sql
......
CREATE TABLE IF NOT EXISTS hafd.table_schema(
schema_name TEXT NOT NULL,
schema_hash UUID NOT NULL
);
SELECT pg_catalog.pg_extension_config_dump('hafd.table_schema', '');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment