-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from linjeforeningen-delta/legacy-mock-data
chore(test): added testdata for legacy users
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
38 changes: 38 additions & 0 deletions
38
src/main/resources/db/testdata/V901_0_0__populate_legacy_data.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
create table legacy_users | ||
( | ||
card_id bigint not null primary key, | ||
last_name varchar(64) null, | ||
first_name varchar(64) null, | ||
username varchar(16) null, | ||
birthday varchar(8) null, | ||
studprog varchar(10) null, | ||
membership int null, | ||
userlevel int null, | ||
password varchar(64) null, | ||
tab int null, | ||
cash int null, | ||
spent int null, | ||
borrowed varchar(128) null, | ||
comment varchar(128) null, | ||
misc varchar(128) null, | ||
creation_date int null | ||
); | ||
|
||
INSERT INTO legacy_users (card_id, last_name, first_name, username, birthday, studprog, membership, userlevel, password, | ||
tab, cash, spent, borrowed, comment, misc, creation_date) | ||
VALUES (10975012, 'Legacy', 'Man', 'man', '111195', 'BFY', 1, 9, 'C0FFEE', 5, -175, | ||
10500, '', '', 'Fyllesvin', 1387228753); | ||
INSERT INTO legacy_users (card_id, last_name, first_name, username, birthday, studprog, membership, userlevel, password, | ||
tab, cash, spent, borrowed, comment, misc, creation_date) | ||
VALUES (242054311, 'Legacy', 'Person', 'person', '060689', 'PhD', 1, 1, '051307161D5F505A6B1919', 0, 75, 0, | ||
'', '?resmedlem', '', 1337958605); | ||
INSERT INTO legacy_users (card_id, last_name, first_name, username, birthday, studprog, membership, userlevel, password, | ||
tab, cash, spent, borrowed, comment, misc, creation_date) | ||
VALUES (10993472, 'Legacy', 'Woman', 'woman', '060189', 'MFY', 1, 9, '091417061D5E505A5B0A0E', 1, -10, 35, | ||
' ', 'Æresmedlem', '', 1337958605); | ||
INSERT INTO legacy_users (card_id, last_name, first_name, username, birthday, studprog, membership, userlevel, password, | ||
tab, cash, spent, borrowed, comment, misc, creation_date) | ||
VALUES (306484731, 'Test', 'Test', 'test', '121212', 'Meth', 1, 0, '', 0, 35, 35, '', '', '', 1541103641); | ||
INSERT INTO legacy_users (card_id, last_name, first_name, username, birthday, studprog, membership, userlevel, password, | ||
tab, cash, spent, borrowed, comment, misc, creation_date) | ||
VALUES (1111111101, 'Hektor', 'Hektor', 'hektor', '040914', 'Fisk', 1, 0, '', 0, 0, 0, '', '', '', 1410176229); |