A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cakephp/phinx/issues/1026 below:

PostgreSQL UNIQUE constraint as table constraints · Issue #1026 · cakephp/phinx · GitHub

Is there any support for this:

http://www.w3resource.com/PostgreSQL/unique.php

CREATE TABLE orders(
ord_no integer,
ord_date date,
item_name character(35),
item_grade character(1),
ord_qty numeric,
ord_amount numeric,
UNIQUE (ord_no)
);

this don't do what i expected:
->addIndex(array("ord_no"), array('unique' => true))


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4