Remove witness server references

This commit is contained in:
Ian Barwick
2017-07-10 09:31:31 +09:00
parent 9e3d942917
commit 5fbcf3e476
12 changed files with 12 additions and 74 deletions

View File

@@ -6,7 +6,7 @@ CREATE TABLE nodes (
upstream_node_id INTEGER NULL REFERENCES nodes (node_id) DEFERRABLE,
active BOOLEAN NOT NULL DEFAULT TRUE,
node_name TEXT NOT NULL,
type TEXT NOT NULL CHECK (type IN('primary','standby','witness','bdr')),
type TEXT NOT NULL CHECK (type IN('primary','standby','bdr')),
location TEXT NOT NULL DEFAULT 'default',
priority INT NOT NULL DEFAULT 100,
conninfo TEXT NOT NULL,