Displaying 2 results from an estimated 2 matches for "computer_rol".
Did you mean:
computer_role
2007 Feb 07
2
Problems Generating Scaffolding
...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 character varying(15) NOT NULL,
cpu integer NOT NULL,...
2007 Feb 07
5
Problems Generating Scaffolding
...m 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 character varying(15) NOT NULL,
cpu integer NOT NULL,
cores i...