Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony] schema.xml Postgres i atrybut 'unique'
blackroger
post 23.10.2009, 12:22:43
Post #1





Grupa: Zarejestrowani
Postów: 176
Pomógł: 0
Dołączył: 8.11.2008

Ostrzeżenie: (0%)
-----


Witam. Mam problem z ustawieniem flagi UNIQUE na kolumnę... kod się wykonuje ale ale flaga nie jest ustawiona.
  1. <table name="categories" phpName="Categories">
  2. <column name="cat_id" type="integer" required="true"
  3. autoIncrement="true" primaryKey="true" />
  4. <column name="name" type="varchar" required="true" />
  5. <column name="about" type="longvarchar" />
  6. <column name="unique_cat_id" type="integer" index="unique" required="true" />
  7. </table>


Ten post edytował blackroger 23.10.2009, 12:26:00
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 18.08.2025 - 22:15