Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE event(
- event_id INT AUTO_INCREMENT PRIMARY KEY,
- creator INT,
- name VARCHAR(150) NOT NULL,
- location VARCHAR(150) NOT NULL,
- start_date date NOT NULL,
- description TEXT NOT NULL,
- picture VARCHAR(500) NOT NULL DEFAULT 'http://simonbrix.dk/assets/event_placeholder.png',
- FOREIGN KEY (creator) REFERENCES user(user_id)
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement