Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions singlefile/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ $$;
CREATE TABLE IF NOT EXISTS users (
id integer PRIMARY KEY,
email text NOT NULL CHECK (email LIKE '%@%'),
name text NOT NULL
name text NOT NULL,
city text NOT NULL
);

COMMENT ON TABLE users IS 'User accounts';
Expand All @@ -87,8 +88,6 @@ COMMENT ON COLUMN users.email IS 'User email address';
-- Name: idx_users_email; Type: INDEX; Schema: -; Owner: -
--

CREATE INDEX IF NOT EXISTS idx_users_email ON users (email);

--
-- Name: idx_users_name; Type: INDEX; Schema: -; Owner: -
--
Expand Down
Loading