Revision 10343
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sql | ||
---|---|---|
1814 | 1814 |
|
1815 | 1815 |
|
1816 | 1816 |
-- |
1817 |
-- Name: map__unique__to; Type: CONSTRAINT; Schema: util; Owner: -; Tablespace: |
|
1818 |
-- |
|
1819 |
|
|
1820 |
ALTER TABLE ONLY map |
|
1821 |
ADD CONSTRAINT map__unique__to UNIQUE ("to"); |
|
1822 |
|
|
1823 |
|
|
1824 |
-- |
|
1817 | 1825 |
-- Name: map_filter_insert; Type: TRIGGER; Schema: util; Owner: - |
1818 | 1826 |
-- |
1819 | 1827 |
|
Also available in: Unified diff
schemas/util.sql: map table: added unique constraint on the to column as well, because the destination names also need to be distinct in order to be a valid set of column names