diff options
-rw-r--r-- | sql/Pg-database.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql index d5a3aae9..cc4b77dd 100644 --- a/sql/Pg-database.sql +++ b/sql/Pg-database.sql @@ -53,7 +53,7 @@ COMMENT ON TABLE entity_class_to_entity IS $$ Relation builder for classes to en CREATE TABLE users ( id serial UNIQUE, username varchar(30) primary key, - entity_id int not null references entity(id) on delete cascade, + entity_id int not null references entity(id) on delete cascade ); COMMENT ON TABLE users IS $$username is the actual primary key here because we do not want duplicate users$$; |