search for: dept_pkey

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

2007 Feb 07
2
Problems Generating Scaffolding
...r other parts I get this: Before updating scaffolding from new DB schema, try creating a table for your model The tables do exist. At least I can see them from psql. Here is the SQL I''m using to create my tables: CREATE TABLE dept ( name character varying(20) NOT NULL, CONSTRAINT dept_pkey PRIMARY KEY (name) ) WITHOUT OIDS; CREATE TABLE computer_role ( model character varying(15) NOT NULL, os character varying(10) NOT NULL, role integer NOT NULL, CONSTRAINT computer_role_pkey PRIMARY KEY (model, os, role) ) WITHOUT OIDS; CREATE TABLE computers ( ram integer NOT NULL,...
2007 Feb 07
5
Problems Generating Scaffolding
...for other parts I get this: Before updating scaffolding from new DB schema, try creating a table for your model The tables do exist. At least I can see them from psql. Here is the SQL I''m using to create my tables: CREATE TABLE dept ( name character varying(20) NOT NULL, CONSTRAINT dept_pkey PRIMARY KEY (name) ) WITHOUT OIDS; CREATE TABLE computer_role ( model character varying(15) NOT NULL, os character varying(10) NOT NULL, role integer NOT NULL, CONSTRAINT computer_role_pkey PRIMARY KEY (model, os, role) ) WITHOUT OIDS; CREATE TABLE computers ( ram integer NOT NULL, model...