I'm in psql trying to create a table for a python admin. It's actually an extension of a working admin, so I'm adding a new table and some relations. When I enter in the following sequence, it never executes to completion:
BEGIN;
CREATE TABLE "work_projectinteractiveasset" (
"id" serial NOT NULL PRIMARY KEY,
"name" varchar(200) NOT NULL,
"image" varchar(100) NOT NULL,
"project_id" integer NOT NULL REFERENCES "work_project" ("id") DEFERRABLE INITIALLY DEFERRED
);
CREATE INDEX "work_projectinteractiveasset_project_id"
ON "work_projectinteractiveasset" ("project_id");
COMMIT;
The prompt ends with
NOTICE: CREATE TABLE will create implicit sequence "work_projectinteractiveasset_id_seq" for serial column "work_projectinteractiveasset.id"
But it just stays there until I ctrl-c out of it. Is there some way to force the completion?