Skip to content

Commit 1779f71

Browse files
Add new table 'ajtkdfjklsa' and modify 'employee' table
1 parent 2837337 commit 1779f71

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

schema/schema.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
COMMENT ON SCHEMA "public" IS 'standard public schema';
22

3+
CREATE TABLE "public"."ajtkdfjklsa" (
4+
"id" serial
5+
);
6+
37
CREATE TABLE "public"."audit" (
48
"id" serial,
59
"operation" text NOT NULL,
@@ -42,13 +46,14 @@ CREATE TABLE "public"."dept_manager" (
4246
CONSTRAINT "dept_manager_emp_no_fkey" FOREIGN KEY ("emp_no") REFERENCES "public"."employee" ("emp_no") ON DELETE CASCADE
4347
);
4448

45-
CREATE TABLE "public"."ajkdfjdlkjfa" (
49+
CREATE TABLE "public"."employee" (
4650
"emp_no" serial,
4751
"birth_date" date NOT NULL,
4852
"first_name" text NOT NULL,
4953
"last_name" text NOT NULL,
5054
"gender" text NOT NULL,
5155
"hire_date" date NOT NULL,
56+
CONSTRAINT "employee_pkey" PRIMARY KEY (emp_no),
5257
CONSTRAINT "employee_gender_check" CHECK (gender = ANY (ARRAY['M'::text, 'F'::text]))
5358
);
5459

0 commit comments

Comments
 (0)