Displaying 2 results from an estimated 2 matches for "referral_notes_pkey".
2006 Mar 25
1
foreign keys on migration
...system online.
I am fooling with migrations. I am using postgresql. I put in my
migration script (at the end of the ''up'' method, the following raw sql
code...
# set up primary key restratints for PostgreSQL
execute ''ALTER TABLE ONLY referral_notes ADD CONSTRAINT
referral_notes_pkey PRIMARY KEY (id)''
execute ''ALTER TABLE ONLY placements ADD CONSTRAINT placements_pkey
PRIMARY KEY (id)''
execute ''ALTER TABLE ONLY case_managers ADD CONSTRAINT
case_managers_pkey PRIMARY KEY (id)''
execute ''ALTER TABLE ONLY facilities...
2006 Feb 13
8
postgres and rake
...ot;case_managers"
psql:db/development_structure.sql:131: NOTICE: ALTER TABLE / ADD
PRIMARY KEY will create implicit index "placements_pkey" for table
"placements"
psql:db/development_structure.sql:140: NOTICE: ALTER TABLE / ADD
PRIMARY KEY will create implicit index "referral_notes_pkey" for table
"referral_notes"
psql:db/development_structure.sql:149: NOTICE: ALTER TABLE / ADD
PRIMARY KEY will create implicit index "clients_pkey" for table
"clients"
psql:db/development_structure.sql:158: NOTICE: ALTER TABLE / ADD
PRIMARY KEY will create implic...