Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.40 KB | None | 0 0
  1. create table trips(
  2.     trip_id INT NOT NULL AUTO_INCREMENT,
  3.     user_id INT,
  4.     trip_name VARCHAR(255) NOT NULL,
  5.     trip_start_date DATE,
  6.     trip_end_date DATE,
  7.     trip_impressions VARCHAR(255) NOT NULL,
  8.     photo_one mediumblob,
  9.     photo_two mediumblob,
  10.     trip_location_coordinates VARCHAR(255) NOT NULL,
  11.         primary key(trip_id),
  12.         foreign key(user_id) references users(user_id)
  13.         );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement