Changeset 1df3fde for dummy_database.sql
- Timestamp:
- 07/13/22 14:50:17 (2 years ago)
- Branches:
- main
- Children:
- 433e0c5
- Parents:
- e9f11ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dummy_database.sql
re9f11ac r1df3fde 1 DROP TABLE IF EXISTS "public"."blackjack"; 2 -- This script only contains the table creation statements and does not fully represent the table in database. It's still missing: indices, triggers. Do not use it as backup. 3 4 -- Table Definition 5 CREATE TABLE "public"."blackjack" ( 6 "data" text, 7 "identifier" text DEFAULT 'blackjack_data'::text 8 ); 9 1 10 DROP TABLE IF EXISTS "public"."players"; 2 11 -- This script only contains the table creation statements and does not fully represent the table in database. It's still missing: indices, triggers. Do not use it as backup. 3 12 4 13 -- Squences 5 CREATE SEQUENCE IF NOT EXISTS players_id_seq ;14 CREATE SEQUENCE IF NOT EXISTS players_id_seq 6 15 7 16 -- Table Definition … … 13 22 ); 14 23 24 DROP TABLE IF EXISTS "public"."poker"; 25 -- This script only contains the table creation statements and does not fully represent the table in database. It's still missing: indices, triggers. Do not use it as backup. 26 27 -- Table Definition 28 CREATE TABLE "public"."poker" ( 29 "data" text, 30 "identifier" text DEFAULT 'poker_data'::text 31 ); 32 33 DROP TABLE IF EXISTS "public"."roulette"; 34 -- This script only contains the table creation statements and does not fully represent the table in database. It's still missing: indices, triggers. Do not use it as backup. 35 36 -- Table Definition 37 CREATE TABLE "public"."roulette" ( 38 "data" text, 39 "identifier" text DEFAULT 'roulette_data'::text 40 ); 41 42 DROP TABLE IF EXISTS "public"."sessions"; 43 -- This script only contains the table creation statements and does not fully represent the table in database. It's still missing: indices, triggers. Do not use it as backup. 44 45 -- Table Definition 46 CREATE TABLE "public"."sessions" ( 47 "data" text, 48 "identifier" text DEFAULT 'sessions_data'::text 49 ); 50 15 51 DROP TABLE IF EXISTS "public"."stats"; 16 52 -- This script only contains the table creation statements and does not fully represent the table in database. It's still missing: indices, triggers. Do not use it as backup. 17 53 18 54 -- Squences 19 CREATE SEQUENCE IF NOT EXISTS stats_id_seq ;55 CREATE SEQUENCE IF NOT EXISTS stats_id_seq 20 56 21 57 -- Table Definition … … 28 64 "blackjack_won_games" int8, 29 65 "roulette_won_games" int8, 30 "poker_won_games" int8, 66 "poker_won_games" int8, 31 67 "money_bet" int8, 32 68 "money_earned" int8 … … 37 73 38 74 -- Squences 39 CREATE SEQUENCE IF NOT EXISTS users_id_seq ;75 CREATE SEQUENCE IF NOT EXISTS users_id_seq 40 76 41 77 -- Table Definition … … 47 83 ); 48 84 85 INSERT INTO "public"."blackjack" ("data", "identifier") VALUES 86 ('[]', 'blackjack_data'); 87 88 49 89 INSERT INTO "public"."players" ("id", "username", "display_name", "credits") VALUES 50 ( 9, 'david', 'Dvd', 1000);90 (8, 'gis', 'Gis', 1147); 51 91 INSERT INTO "public"."players" ("id", "username", "display_name", "credits") VALUES 52 ( 6, 'simon', 'Simon', 3553);92 (10, 'test', 'Tester', 1000); 53 93 INSERT INTO "public"."players" ("id", "username", "display_name", "credits") VALUES 54 ( 8, 'gis', 'Gis', 1003);94 (11, 'guest', 'guester', 1000); 55 95 INSERT INTO "public"."players" ("id", "username", "display_name", "credits") VALUES 56 (12, 'gigi', 'GG', 435), 57 (10, 'test', 'Tester', 1000), 58 (11, 'guest', 'guester', 1000); 96 (9, 'david', 'Dvd', 2650), 97 (6, 'simon', 'Simon', 10206); 98 99 INSERT INTO "public"."poker" ("data", "identifier") VALUES 100 ('[]', 'poker_data'); 101 102 103 INSERT INTO "public"."roulette" ("data", "identifier") VALUES 104 ('{}', 'roulette_data'); 105 106 107 INSERT INTO "public"."sessions" ("data", "identifier") VALUES 108 ('[{"id":"8fc8ea87-94a2-4e20-a315-bef5795b4b99","displayName":"Evgi","username":"evgi","credits":10506,"lastActivity":1657280778431},{"id":"d1abae2c-e9b2-4df9-bb92-f7dc9e88d374","displayName":"a","username":"a","credits":5340,"lastActivity":1657640369530},{"id":"d52e06f3-694b-4552-bd4d-58c0062ddead","displayName":"asdasd","username":"asdasd","credits":3593,"lastActivity":1657577539897},{"id":"7cb0abcc-fd94-425a-abaf-be6c67122e9d","displayName":"Gis","username":"gis","credits":1147,"lastActivity":1657640369532},{"id":"7e49c3ae-818e-4a49-ba46-a1980ef33ca6","displayName":"Dvd","username":"david","credits":2650,"lastActivity":1657640499011},{"id":"879c0abd-cfcb-400b-b042-b15f5b59a971","displayName":"Simon","username":"simon","credits":10206,"lastActivity":1657641589917}]', 'sessions_data'); 109 59 110 60 111 INSERT INTO "public"."stats" ("id", "username", "blackjack_games", "roulette_games", "poker_games", "blackjack_won_games", "roulette_won_games", "poker_won_games", "money_bet", "money_earned") VALUES 61 (6, 'gis', 0, 0, 0, 0, 0, 0, 0, 0);112 (6, 'gis', 0, 4, 0, 0, 1, 0, 72, 216); 62 113 INSERT INTO "public"."stats" ("id", "username", "blackjack_games", "roulette_games", "poker_games", "blackjack_won_games", "roulette_won_games", "poker_won_games", "money_bet", "money_earned") VALUES 63 ( 7, 'david', 0, 0, 0, 0, 0, 0, 0, 0);114 (8, 'test', 0, 0, 0, 0, 0, 0, 0, 0); 64 115 INSERT INTO "public"."stats" ("id", "username", "blackjack_games", "roulette_games", "poker_games", "blackjack_won_games", "roulette_won_games", "poker_won_games", "money_bet", "money_earned") VALUES 65 ( 10, 'gigi', 7, 0, 0, 3, 0, 0, 4187, 3122);116 (9, 'guest', 0, 0, 0, 0, 0, 0, 0, 0); 66 117 INSERT INTO "public"."stats" ("id", "username", "blackjack_games", "roulette_games", "poker_games", "blackjack_won_games", "roulette_won_games", "poker_won_games", "money_bet", "money_earned") VALUES 67 (8, 'test', 0, 0, 0, 0, 0, 0, 0, 0), 68 (9, 'guest', 0, 0, 0, 0, 0, 0, 0, 0), 69 (4, 'simon', 10, 0, 0, 5, 0, 0, 5180, 3899); 118 (7, 'david', 0, 2, 2, 0, 2, 1, 1768, 3418), 119 (4, 'simon', 28, 18, 43, 12, 2, 17, 47175, 33530); 70 120 71 121 INSERT INTO "public"."users" ("id", "username", "password", "salt") VALUES … … 77 127 INSERT INTO "public"."users" ("id", "username", "password", "salt") VALUES 78 128 (14, 'test', '3b28f1d5ad3633ff23fbde106500e3ab6837779cad55092f83b9607294364177aa4eceb2e69f00bdd6f81cc6f062804a373d74503048dca1eceeb9de22425eab', '65ecbfcc453081ad8ae65470f7e50056'), 79 (15, 'guest', 'a67c607687003434a04f89d805cc95b0a59bd310dfef6358b7e17c2a3c7b216f8c0c91d919fbfeea3c45635682b241b19d5a9841d83da43f164287c526efb924', '59eb67f0023c9b6fd246ff33382f739d'), 80 (16, 'gigi', '690aa3232c85602d15fcaaf761ec0f7a14958df2c3054a177b5ac0a05584c959cde01015b009d95111798533add6bdf578867f5c58ebab8121a08b55b32c810c', '353a2adee3a03d28a7118ea138a76aac'); 129 (15, 'guest', 'a67c607687003434a04f89d805cc95b0a59bd310dfef6358b7e17c2a3c7b216f8c0c91d919fbfeea3c45635682b241b19d5a9841d83da43f164287c526efb924', '59eb67f0023c9b6fd246ff33382f739d');
Note:
See TracChangeset
for help on using the changeset viewer.