Skip to content

Commit

Permalink
Merge pull request #34 from GSG-G8/31-fake-database
Browse files Browse the repository at this point in the history
  fake dadata base
  • Loading branch information
ranasobeid95 authored Mar 28, 2020
2 parents 8b41820 + e1ff2e2 commit 9ddec52
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions server/database/config/fakeData.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
INSERT INTO admin (username , password) VALUES ('Mohammed','123456');

INSERT INTO cohort (name , description , img_url , github_link) VALUES
('G8','GazaSkyGeeks Code Academy, 8th Cohort','https://avatars0.githubusercontent.com/u/59821022?s=200&v=4','https://github.com/GSG-G8'),
('G7','GazaSkyGeeks Code Academy, 7th Cohort','https://avatars3.githubusercontent.com/u/52123464?s=200&v=4','https://github.com/GSG-G7');

INSERT INTO student (name , email , img_url , github_link , cohort_id) VALUES
('Alaa','[email protected]','https://avatars2.githubusercontent.com/u/26024288?s=60&u=573706aef193cc5bcb8a28969cff88bf282bb6ef&v=4','https://github.com/AlaaSaadeddin',1),
('Rana','[email protected]','https://avatars1.githubusercontent.com/u/25321550?s=96&v=4','https://github.com/ranasobeid95',2);

INSERT INTO project (name , description , img_url , github_link , website_link , project_type , cohort_id) VALUES
('ca-wiki',
'Ca-wiki is a web application which allows clients to view all cohorts that have been enrolled in Code Academy. Clients can view all students who graduated from the academy so that they can view every student and his/her projects he/she participated in, his/her github page',
'https://lh3.googleusercontent.com/proxy/fp_bF_rbMIKyCfgdgWodyuM9LGt3HwGgM8AMnQ4qxjftKcvEdmhngdaeA8F6xFgRDHVzezPLT6YZarpBcqnMD5WtAvUhKJXcWS7qvS6Bn3CllitLttt_uA',
'https://github.com/GSG-G8/ca-wiki/tree/ed9f4cd9b5dc428f5420fe9a880a27e63f5f04d3',
'https://github.com/GSG-G8/ca-wiki/blob/ed9f4cd9b5dc428f5420fe9a880a27e63f5f04d3/%5Blink%5D','Internal project',1),
('events-booker',
'This app to help GSG organization in organizing the registration for the events that they do. So When they announced for an event, it will be known who would like to attend and they can ensure if this person attended or not. By this way, the GSG can have information about the people who attended and they can use it in the future as they want.',
'https://d2slcw3kip6qmk.cloudfront.net/marketing/blog/2017Q2/[email protected]',
'https://github.com/GSG-G8/events-booker',
'https://github.com/GSG-G8/ca-wiki/blob/ed9f4cd9b5dc428f5420fe9a880a27e63f5f04d3/%5Blink%5D','Remotely project',2);

INSERT INTO student_project (student_id , project_id) VALUES (1 , 1) , (2 , 2);

0 comments on commit 9ddec52

Please sign in to comment.