Skip to content

Commit 70c5208

Browse files
authored
Merge pull request #6 from pgschema/feature-1
feat: add city column
2 parents 5e50f8b + 8f31dba commit 70c5208

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)