diff --git a/migrations/202208011200_initial_data/up.sql b/migrations/202208011200_initial_data/up.sql index 29c9b88..c19fd6b 100644 --- a/migrations/202208011200_initial_data/up.sql +++ b/migrations/202208011200_initial_data/up.sql @@ -126,6 +126,15 @@ INSERT INTO members( 'normal' ); +INSERT INTO members (id, site_id, member_class_id, member_level_id, username, password, nickname, mobile_phone_number, state, state_changed_at, parent_member_id, child_member_count, last_signined_ip, last_signined_at, created_at, updated_at, deleted_at) VALUES ('c4c8c3c7-3ad7-4a89-a9b2-2df8c9c66002', 'd7cbae26-53b6-4cb1-85a4-66b956cbe1d4', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', 'bonsa01', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사01', '01012341234', 'normal', NULL, NULL, 0, NULL, NULL, 1662368913534, 1662368913534, NULL); +INSERT INTO members (id, site_id, member_class_id, member_level_id, username, password, nickname, mobile_phone_number, state, state_changed_at, parent_member_id, child_member_count, last_signined_ip, last_signined_at, created_at, updated_at, deleted_at) VALUES ('8f335e71-6b3a-4661-935f-ad71ea90a529', 'd7cbae26-53b6-4cb1-85a4-66b956cbe1d4', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', 'daebon01', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본01', '01023453456', 'normal', NULL, 'c4c8c3c7-3ad7-4a89-a9b2-2df8c9c66002', 0, NULL, NULL, 1662368954736, 1662368954736, NULL); +INSERT INTO members (id, site_id, member_class_id, member_level_id, username, password, nickname, mobile_phone_number, state, state_changed_at, parent_member_id, child_member_count, last_signined_ip, last_signined_at, created_at, updated_at, deleted_at) VALUES ('b378d495-12c5-42ea-a717-f1fc81eae2d2', 'd7cbae26-53b6-4cb1-85a4-66b956cbe1d4', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', 'bubon01', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본01', '01021391828', 'normal', NULL, '8f335e71-6b3a-4661-935f-ad71ea90a529', 0, NULL, NULL, 1662368992042, 1662368992042, NULL); +INSERT INTO members (id, site_id, member_class_id, member_level_id, username, password, nickname, mobile_phone_number, state, state_changed_at, parent_member_id, child_member_count, last_signined_ip, last_signined_at, created_at, updated_at, deleted_at) VALUES ('ab59d6d8-c5d6-4bb6-a9f7-1658801f78fc', 'd7cbae26-53b6-4cb1-85a4-66b956cbe1d4', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', 'chongpan01', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판01', '01026667733', 'normal', NULL, 'b378d495-12c5-42ea-a717-f1fc81eae2d2', 0, NULL, NULL, 1662369018659, 1662369018659, NULL); +INSERT INTO members (id, site_id, member_class_id, member_level_id, username, password, nickname, mobile_phone_number, state, state_changed_at, parent_member_id, child_member_count, last_signined_ip, last_signined_at, created_at, updated_at, deleted_at) VALUES ('df062e89-91f2-42ac-ba84-4f8fd37ea840', 'd7cbae26-53b6-4cb1-85a4-66b956cbe1d4', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', 'maejang01', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장01', '010293829182', 'normal', NULL, 'ab59d6d8-c5d6-4bb6-a9f7-1658801f78fc', 0, NULL, NULL, 1662369066463, 1662369066463, NULL); +INSERT INTO members (id, site_id, member_class_id, member_level_id, username, password, nickname, mobile_phone_number, state, state_changed_at, parent_member_id, child_member_count, last_signined_ip, last_signined_at, created_at, updated_at, deleted_at) VALUES ('2cc97c3b-0d82-4965-a68e-6aced1e179ec', 'd7cbae26-53b6-4cb1-85a4-66b956cbe1d4', '4598f07a-86d1-42a4-b038-25706683a7cd', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', 'test01', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$oO8rlAVRUAAXS9Y/rULDehwqnqwpUtlDjcNuaxHCdRU', '테스트01', '01012345678', 'normal', 1662369143488, 'df062e89-91f2-42ac-ba84-4f8fd37ea840', 0, NULL, NULL, 1662369124876, 1662369143488, NULL); + + + -- INSERT INTO members( -- id, -- site_id, member_class_id, member_level_id, @@ -914,3 +923,28 @@ INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('8239f500 -- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); -- -- identity.signout -- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '37b99823-188b-4b30-afb7-815a7e79662b'); + +INSERT INTO member_bank_accounts (id, member_id, bank_id, name, account_number, exchange_password, memo, created_at, updated_at) VALUES ('fa3a48fa-bbd4-4319-8997-38ba9dffa7b3', 'c4c8c3c7-3ad7-4a89-a9b2-2df8c9c66002', '816eff0d-db96-4753-98e3-36035a9a012b', '본사01', '123123123123', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', NULL, 1662368913867, 1662368913867); +INSERT INTO member_bank_accounts (id, member_id, bank_id, name, account_number, exchange_password, memo, created_at, updated_at) VALUES ('a9ea700f-411f-470e-91c2-3820df90da08', '8f335e71-6b3a-4661-935f-ad71ea90a529', '20c9c093-fd6a-463d-9de4-e93d0db0e7eb', '대본01', '123123123123', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', NULL, 1662368955042, 1662368955042); +INSERT INTO member_bank_accounts (id, member_id, bank_id, name, account_number, exchange_password, memo, created_at, updated_at) VALUES ('8b5fc1a2-e69a-43ff-a2a7-85959115fc9a', 'b378d495-12c5-42ea-a717-f1fc81eae2d2', '20c9c093-fd6a-463d-9de4-e93d0db0e7eb', '부본01', '123123123123', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', NULL, 1662368992363, 1662368992363); +INSERT INTO member_bank_accounts (id, member_id, bank_id, name, account_number, exchange_password, memo, created_at, updated_at) VALUES ('97017b4d-b413-4e8e-b898-97eba6cf5d61', 'ab59d6d8-c5d6-4bb6-a9f7-1658801f78fc', '816eff0d-db96-4753-98e3-36035a9a012b', '총판01', '13123132123123', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', NULL, 1662369018968, 1662369018968); +INSERT INTO member_bank_accounts (id, member_id, bank_id, name, account_number, exchange_password, memo, created_at, updated_at) VALUES ('29fa1219-0736-4bf7-b856-0ee65fc5a26a', 'df062e89-91f2-42ac-ba84-4f8fd37ea840', '20c9c093-fd6a-463d-9de4-e93d0db0e7eb', '매장01', '28282918282', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', NULL, 1662369066773, 1662369066773); +INSERT INTO member_bank_accounts (id, member_id, bank_id, name, account_number, exchange_password, memo, created_at, updated_at) VALUES ('2f807e19-86d3-4092-b277-9da6b2542e41', '2cc97c3b-0d82-4965-a68e-6aced1e179ec', '816eff0d-db96-4753-98e3-36035a9a012b', '테스트01', '123123123', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$oO8rlAVRUAAXS9Y/rULDehwqnqwpUtlDjcNuaxHCdRU', NULL, 1662369125185, 1662369125185); + + +INSERT INTO member_game_settings (id, member_id, can_bet_casino, can_bet_slot, can_bet_powerball, can_bet_powerladder, can_bet_eos, can_bet_bogglepowerball, created_at, updated_at) VALUES ('2ab6656b-6426-44c6-a59d-9ee96c36de0a', 'c4c8c3c7-3ad7-4a89-a9b2-2df8c9c66002', true, true, true, true, true, true, 1662368913875, 1662368913875); +INSERT INTO member_game_settings (id, member_id, can_bet_casino, can_bet_slot, can_bet_powerball, can_bet_powerladder, can_bet_eos, can_bet_bogglepowerball, created_at, updated_at) VALUES ('c5452e47-9f0a-4551-b047-82a7c95a210a', '8f335e71-6b3a-4661-935f-ad71ea90a529', true, true, true, true, true, true, 1662368955051, 1662368955051); +INSERT INTO member_game_settings (id, member_id, can_bet_casino, can_bet_slot, can_bet_powerball, can_bet_powerladder, can_bet_eos, can_bet_bogglepowerball, created_at, updated_at) VALUES ('6d288c88-b840-471c-b9c5-9ea0019dfe2c', 'b378d495-12c5-42ea-a717-f1fc81eae2d2', true, true, true, true, true, true, 1662368992371, 1662368992371); +INSERT INTO member_game_settings (id, member_id, can_bet_casino, can_bet_slot, can_bet_powerball, can_bet_powerladder, can_bet_eos, can_bet_bogglepowerball, created_at, updated_at) VALUES ('f6236f33-7a80-43da-b030-1577f9773d54', 'ab59d6d8-c5d6-4bb6-a9f7-1658801f78fc', true, true, true, true, true, true, 1662369018975, 1662369018975); +INSERT INTO member_game_settings (id, member_id, can_bet_casino, can_bet_slot, can_bet_powerball, can_bet_powerladder, can_bet_eos, can_bet_bogglepowerball, created_at, updated_at) VALUES ('c79c1b97-3ca2-464c-a39f-d736909fee4d', 'df062e89-91f2-42ac-ba84-4f8fd37ea840', true, true, true, true, true, true, 1662369066780, 1662369066780); +INSERT INTO member_game_settings (id, member_id, can_bet_casino, can_bet_slot, can_bet_powerball, can_bet_powerladder, can_bet_eos, can_bet_bogglepowerball, created_at, updated_at) VALUES ('ef71c575-491a-476f-afb9-3d28ee735d66', '2cc97c3b-0d82-4965-a68e-6aced1e179ec', true, true, true, true, true, true, 1662369125194, 1662369125194); + + + +INSERT INTO member_settlement_settings (id, member_id, can_exchange, can_first_charge_comp, can_per_charge_comp, manual_payment_type_for_partner, settlement_type, rate_casino, rate_casino_loosing, rate_casino_bacara, rate_casino_roulette, rate_casino_dragon_tiger, rate_slot, rate_slot_loosing, rate_powerball_single, rate_powerball_combo, rate_powerladder_single, rate_powerladder_combo, rate_eos_single, rate_eos_combo, rate_bogglepowerball_single, rate_bogglepowerball_combo, created_at, updated_at) VALUES ('59512e48-ce36-4f1f-9954-194dc14ed245', 'c4c8c3c7-3ad7-4a89-a9b2-2df8c9c66002', true, false, false, 'all_child_partner', 'rolling', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1662368913880, 1662368913880); +INSERT INTO member_settlement_settings (id, member_id, can_exchange, can_first_charge_comp, can_per_charge_comp, manual_payment_type_for_partner, settlement_type, rate_casino, rate_casino_loosing, rate_casino_bacara, rate_casino_roulette, rate_casino_dragon_tiger, rate_slot, rate_slot_loosing, rate_powerball_single, rate_powerball_combo, rate_powerladder_single, rate_powerladder_combo, rate_eos_single, rate_eos_combo, rate_bogglepowerball_single, rate_bogglepowerball_combo, created_at, updated_at) VALUES ('b344bab9-6854-4ba3-8a78-79a4423d1be0', '8f335e71-6b3a-4661-935f-ad71ea90a529', true, false, false, 'all_child_partner', 'rolling', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1662368955058, 1662368955058); +INSERT INTO member_settlement_settings (id, member_id, can_exchange, can_first_charge_comp, can_per_charge_comp, manual_payment_type_for_partner, settlement_type, rate_casino, rate_casino_loosing, rate_casino_bacara, rate_casino_roulette, rate_casino_dragon_tiger, rate_slot, rate_slot_loosing, rate_powerball_single, rate_powerball_combo, rate_powerladder_single, rate_powerladder_combo, rate_eos_single, rate_eos_combo, rate_bogglepowerball_single, rate_bogglepowerball_combo, created_at, updated_at) VALUES ('ad97b23a-abe0-4f19-95a4-7d827775f27c', 'b378d495-12c5-42ea-a717-f1fc81eae2d2', true, false, false, 'all_child_partner', 'rolling', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1662368992378, 1662368992378); +INSERT INTO member_settlement_settings (id, member_id, can_exchange, can_first_charge_comp, can_per_charge_comp, manual_payment_type_for_partner, settlement_type, rate_casino, rate_casino_loosing, rate_casino_bacara, rate_casino_roulette, rate_casino_dragon_tiger, rate_slot, rate_slot_loosing, rate_powerball_single, rate_powerball_combo, rate_powerladder_single, rate_powerladder_combo, rate_eos_single, rate_eos_combo, rate_bogglepowerball_single, rate_bogglepowerball_combo, created_at, updated_at) VALUES ('3ac9bccc-6fc0-45a3-ae5d-65af6ea6457a', 'ab59d6d8-c5d6-4bb6-a9f7-1658801f78fc', true, false, false, 'all_child_partner', 'rolling', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1662369018982, 1662369018982); +INSERT INTO member_settlement_settings (id, member_id, can_exchange, can_first_charge_comp, can_per_charge_comp, manual_payment_type_for_partner, settlement_type, rate_casino, rate_casino_loosing, rate_casino_bacara, rate_casino_roulette, rate_casino_dragon_tiger, rate_slot, rate_slot_loosing, rate_powerball_single, rate_powerball_combo, rate_powerladder_single, rate_powerladder_combo, rate_eos_single, rate_eos_combo, rate_bogglepowerball_single, rate_bogglepowerball_combo, created_at, updated_at) VALUES ('a9e0561d-a6e8-4316-8e38-7f499c700d2b', 'df062e89-91f2-42ac-ba84-4f8fd37ea840', true, false, false, 'all_child_partner', 'rolling', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1662369066787, 1662369066787); +INSERT INTO member_settlement_settings (id, member_id, can_exchange, can_first_charge_comp, can_per_charge_comp, manual_payment_type_for_partner, settlement_type, rate_casino, rate_casino_loosing, rate_casino_bacara, rate_casino_roulette, rate_casino_dragon_tiger, rate_slot, rate_slot_loosing, rate_powerball_single, rate_powerball_combo, rate_powerladder_single, rate_powerladder_combo, rate_eos_single, rate_eos_combo, rate_bogglepowerball_single, rate_bogglepowerball_combo, created_at, updated_at) VALUES ('1b3015ed-99f2-4058-93b8-1eeca24d9844', '2cc97c3b-0d82-4965-a68e-6aced1e179ec', true, false, false, 'all_child_partner', 'rolling', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1662369125200, 1662369125200); +