Skip to content

Commit

Permalink
adding the company insert as well..
Browse files Browse the repository at this point in the history
  • Loading branch information
chenry committed Mar 5, 2015
1 parent 6bc25da commit 30c5ec5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scripts/dummy_data.sql
@@ -1,4 +1,4 @@
INSERT INTO conf_admin.location(
INSERT INTO conf_admin.location(
name, short_desc, full_desc, parking_info, create_dttm, last_update_dttm)
VALUES ('Sample Location', 'short', 'full', 'no parking', CURRENT_DATE, CURRENT_DATE);

Expand All @@ -14,9 +14,12 @@ INSERT INTO conf_admin.room(
select 'Short Description', 'Full Description', conference.id
from conf_admin.conference where conference.name = 'Sample Conference';

insert into conf_admin.company
(name, short_desc, full_desc, logo_path) values ('GFS', 'Gordon Food Service', 'Food distribution', 'http://logo_path/gfs.png');

INSERT INTO conf_admin.presenter(
user_id, short_bio, job_title, company_affiliation_id)
VALUES (null, 'short bio', 'sample title', null);
VALUES (null, 'short bio', 'sample title', 1);

INSERT INTO conf_admin.conference_session(
name, short_desc, full_desc, conference_id, conference_session_type_id,
Expand All @@ -35,6 +38,10 @@ INSERT INTO conf_admin.conference_session_presenter(




select * from conf_admin.company;


/*
select * from conf_admin.conference;
select * from conf_admin.location;
Expand All @@ -51,5 +58,4 @@ delete from conf_admin.conference cascade;
delete from conf_admin.location cascade;
delete from conf_admin.presenter cascade;
delete from conf_admin.conference cascade;
*/

*/

0 comments on commit 30c5ec5

Please sign in to comment.