source: src/main/resources/data.sql@ a436340

Last change on this file since a436340 was a436340, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 17 months ago

Adding customer registration

  • Property mode set to 100644
File size: 1.8 KB
Line 
1insert into stakeholder (id, created, email, first_name, last_name, modified, password, stakeholder_type, username)
2values (nextval('hibernate_sequence'), current_timestamp, 'admin@schedlr.com', 'admin', 'admin', current_timestamp, '$2a$10$DJyjt.Vj/U8MEuYX1PXL9ukQSMwXHVdhre3POlTqpYzNxHB5gu/MW','ADMIN', 'admin');
3
4insert into stakeholder (id, created, email, first_name, last_name, modified, password, stakeholder_type, username)
5values (nextval('hibernate_sequence'), current_timestamp, 'user1@schedlr.com', 'gjoko', 'kostadinov', current_timestamp, '$2a$10$Zc28AcCpAgxB.e67UMF/2.FgchjH9QWB7z8nP0TdkrFneV4IHPXji','CUSTOMER', 'user');
6
7insert into business_type (id, created, modified, name)
8values (1, current_timestamp, current_timestamp, 'tailor'),
9 (2, current_timestamp, current_timestamp, 'nail salon'),
10 (3, current_timestamp, current_timestamp, 'massage parlor'),
11 (4, current_timestamp, current_timestamp, 'makeup studio'),
12 (5, current_timestamp, current_timestamp, 'hairdresser'),
13 (6, current_timestamp, current_timestamp, 'barber');
14
15insert into service_type (id, created, modified, name, business_type_id)
16values (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'haircut', 5),
17 (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'beard shaving', 6),
18 (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'eye brow plucking', 6),
19 (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'waxing', 6),
20 (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'nail extensions', 2),
21 (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'dress shortening', 1),
22 (nextval('hibernate_sequence'), current_timestamp, current_timestamp, 'holes fixing', 1);
Note: See TracBrowser for help on using the repository browser.