Skip to content
Snippets Groups Projects
Commit df186370 authored by Shrey Patel's avatar Shrey Patel
Browse files

updated org table

parent 553d461b
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ CREATE TABLE IF NOT EXISTS ORGANIZATION (
email VARCHAR(128) NOT NULL,
description VARCHAR(1024),
ownerEmail VARCHAR(128) NOT NULL,
category ENUM('ACADEMIC', 'RECREATION', 'TECHNOLOGY', 'POLITICS', 'GREEK LIFE'),
memberCount INT DEFAULT 1,
PRIMARY KEY (organizationId),
CONSTRAINT fk_user_organization FOREIGN KEY (ownerEmail) REFERENCES USER (email)
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment