search for: restratint

Displaying 2 results from an estimated 2 matches for "restratint".

Did you mean: restraint
2006 Mar 25
1
foreign keys on migration
...ment plateau and now want to integrate some of the rails niceties that I passed over to get the 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 CO...
2006 Apr 02
5
foreign keys and migrations
Hi: I''m looking to get a point clarified which i''m sure is obvious to everyone else but I haven''t been able to find the answer to. i''ve tried searching through the forums and the api pages and haven''t found anything. Is there a way with migrations to set up foregin key relationships? (beyond putting in the relevant foregin_id attributes) Is