projects
/
bucardo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
358f799
)
Remove unused constraint
author
Greg Sabino Mullane
<greg@endpoint.com>
Thu, 29 Jul 2010 02:43:45 +0000
(22:43 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Thu, 29 Jul 2010 02:43:45 +0000
(22:43 -0400)
bucardo.schema
patch
|
blob
|
blame
|
history
diff --git
a/bucardo.schema
b/bucardo.schema
index 0dc314d39eeadaab4c2f23eb8ddb28d8cae56fbc..234e24ad840273d1b7d3ccd26689a9f9ee41d9b5 100644
(file)
--- a/
bucardo.schema
+++ b/
bucardo.schema
@@
-431,8
+431,6
@@
COMMENT ON TABLE bucardo.sync IS $$Defines a single replication event from a her
ALTER TABLE bucardo.sync ADD CONSTRAINT sync_type CHECK (synctype IN ('pushdelta','fullcopy','swap'));
-ALTER TABLE bucardo.sync ADD CONSTRAINT sync_copytype CHECK (copytype IN ('insert','copy'));
-
ALTER TABLE bucardo.sync ADD CONSTRAINT sync_deletemethod CHECK (deletemethod IN ('truncate', 'delete', 'truncate_cascade'));
CREATE UNIQUE INDEX sync_source_targetdb_type ON bucardo.sync(source, targetdb, synctype);