-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-data.sql
26 lines (22 loc) · 1.42 KB
/
sample-data.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- $Id$
--
-- Sample data - make some areas and rooms. (This used to be in tables.sql)
-- This is meant to go into an empty database only!
--
-- If you have decided to change the prefix of your tables from 'mrbs_'
-- to something else then you must edit each 'INSERT INTO' line below.
--
-- Generate some default areas
INSERT INTO mrbs_area ( area_name ) VALUES ('Building 1');
INSERT INTO mrbs_area ( area_name ) VALUES ('Building 2');
-- Generate some default rooms
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 1, 'Room 1', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 1, 'Room 2', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 1, 'Room 3', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 1, 'Room 4', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 2, 'Room 1', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 2, 'Room 2', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 2, 'Room 3', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 2, 'Room 4', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 2, 'Room 5', '', 8);
INSERT INTO mrbs_room ( area_id, room_name, description, capacity ) VALUES ( 2, 'Room 6', '', 8);