Skip to content

Commit 10d7ee7

Browse files
committed
feat: add city column to users table
1 parent 86ec977 commit 10d7ee7

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
@@ -76,7 +76,8 @@ $$;
7676
CREATE TABLE IF NOT EXISTS users (
7777
id integer PRIMARY KEY,
7878
email text NOT NULL CHECK (email LIKE '%@%'),
79-
name text NOT NULL
79+
name text NOT NULL,
80+
city text NOT NULL
8081
);
8182

8283
COMMENT ON TABLE users IS 'User accounts';

0 commit comments

Comments
 (0)