We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46e7b92 + 793e313 commit 24279e3Copy full SHA for 24279e3
singlefile/schema.sql
@@ -71,18 +71,15 @@ $$;
71
CREATE TABLE IF NOT EXISTS users (
72
id integer PRIMARY KEY,
73
email text NOT NULL CHECK (email LIKE '%@%'),
74
- name text NOT NULL
+ name text NOT NULL,
75
+ city text NOT NULL
76
);
77
78
COMMENT ON TABLE users IS 'User accounts';
79
80
COMMENT ON COLUMN users.email IS 'User email address';
81
---
82
--- Name: idx_users_email; Type: INDEX; Schema: -; Owner: -
83
84
-
85
-CREATE INDEX IF NOT EXISTS idx_users_email ON users (email);
+COMMENT ON COLUMN users.city IS 'User location city';
86
87
--
88
-- Name: idx_users_name; Type: INDEX; Schema: -; Owner: -
0 commit comments