Skip to content

Commit

Permalink
updated database + wireframes
Browse files Browse the repository at this point in the history
  • Loading branch information
amymluo committed Nov 15, 2018
1 parent 7e755fb commit 78ddd11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sql_script/petsitting_create.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
create database if not exists petsitting;
drop database if exists petsitting;

create database petsitting;
use petsitting;

drop table if exists species;
Expand Down Expand Up @@ -53,13 +55,13 @@ create table photo (
drop table if exists request;
create table request (
request_id int primary key auto_increment,
title varchar(100) not null,
description varchar(500),
owner_id int not null,
pet_id int not null,
start datetime not null,
end datetime not null,
wage double,
description varchar(250),
frequency varchar(50),
constraint foreign key (pet_id) references pet (pet_id),
constraint foreign key (owner_id) references user (user_id)
);
Expand Down
Binary file added wireframes.sketch
Binary file not shown.

0 comments on commit 78ddd11

Please sign in to comment.