Skip to content

Commit a89aa3e

Browse files
authored
✨ add publication.conf.sql for logical publication
- add macrodb_geography_table publication to expose geography information to subscriber tables - typically to create a non-geographically aligned schema country and below level of information is enough
1 parent 20cd537 commit a89aa3e

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

database/publication.conf.sql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/********************************************************************
2+
Configuration of Published Tables from MacroDB for Subscribers
3+
4+
The configuration file is created to keep track of all the published
5+
information in macrodb with a list of objects that are available.
6+
The list may expand with time, thus, it is recommended to keep track
7+
of all the changes and create migration scripts.
8+
********************************************************************/
9+
10+
CREATE PUBLICATION macrodb_geography_table
11+
FOR TABLE
12+
common.country_mw
13+
, common.state_mw
14+
, common.city_mw;

0 commit comments

Comments
 (0)