xml_replication table in production metacat
After finishing the replication feature of metacat, the xml_replication table
was added some new fields such as datafilereplicate and hub.
xmltables.sql and xmltables_postgres were revised. But they only are used for
create a new database. If we apply them in our production version of metacat,
we will lose our all metacat data!
So we need a new script file which only replace the xml_replication tables
itself and keep other tables same. Maybe serverid in xml_replication tables is
a foreign key of xml_documents table is a issue need to be figured out.
#1 Updated by Jing Tao about 20 years ago
A script file named xmlreplicationtable.sql was added to xmltodb/src. This
file uses sql command to add datareplicate and hub column into xml_replication
Testing results showed that the colummns can be added and wouldn't destory
other tables and functionalities.