Skip to content

Commit 59b4af1

Browse files
committed
feat: add city column
1 parent b377c95 commit 59b4af1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)