Skip to content

Commit 88d38e7

Browse files
authored
Merge pull request #7 from pgschema/feature-1
feat: add city column to users
2 parents 13c1c61 + f92cc09 commit 88d38e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

singlefile/schema.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ $$;
7171
CREATE TABLE IF NOT EXISTS users (
7272
id integer PRIMARY KEY,
7373
email text NOT NULL CHECK (email LIKE '%@%'),
74-
name text NOT NULL
74+
name text NOT NULL,
75+
city text NOT NULL
7576
);
7677

7778
COMMENT ON TABLE users IS 'User accounts';

0 commit comments

Comments
 (0)