column name | data type | details |
---|---|---|
id | integer | not null, primary key |
username | string | not null, unique |
password_digest | string | not null |
session_token | string | not null, unique |
column name | data type | details |
---|---|---|
id | integer | not null, primary key |
name | string | not null |
description | text | |
image_url | string |
column name | data type | details |
---|---|---|
id | integer | not null, primary key |
user_id | integer | not null, foreign key |
star_rating | integer | range: 0-5 |
ride_id | integer | nut null, foreign key |
body | text |
column name | data type | details |
---|---|---|
id | integer | not null, primary key |
user_id | integer | not null, foreign key |
ride_id | integer | not null, foreign key |