cl-deck-builder2/db/file.csv
2024-03-05 22:11:33 -05:00

13 KiB

1typenametbl_namerootpagesql
2tabledeck_itemdeck_item2CREATE TABLE "deck_item" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "deck_id" INTEGER NOT NULL, "kind" INTEGER NOT NULL, "passcode" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
3tablesqlite_sequencesqlite_sequence3CREATE TABLE sqlite_sequence(name,seq)
4tableygo_infoygo_info8CREATE TABLE "ygo_info" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "desc" STRING NOT NULL, "frame_type" STRING NOT NULL, "type" STRING NOT NULL, "passcode" INTEGER NOT NULL, "name" STRING NOT NULL, "race" STRING NOT NULL, "archetype" STRING, "attribute" STRING, "linkmarkers" STRING, "atk" INTEGER, "def" INTEGER, "level" INTEGER, "linkval" INTEGER, "scale" INTEGER, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
5tableusers-feedbackusers-feedback12CREATE TABLE "users-feedback" ( "rowid" INTEGER PRIMARY KEY, "userid" INTEGER, "text" STRING, "created-at" STRING, "updated-at" STRING )
6tableygoprodeck-card-dataygoprodeck-card-data13CREATE TABLE "ygoprodeck-card-data" ( "rowid" INTEGER PRIMARY KEY, "passcode" INTEGER, "name" STRING, "type" STRING, "frame-type" STRING, "desc" STRING, "race" STRING, "archetype" STRING, "created-at" STRING, "updated-at" STRING )
7tableygoprodeck-card-setsygoprodeck-card-sets14CREATE TABLE "ygoprodeck-card-sets" ( "rowid" INTEGER PRIMARY KEY, "passcode" INTEGER, "name" STRING, "code" STRING, "rarity" STRING, "rarity-code" STRING, "price" STRING, "created-at" STRING, "updated-at" STRING )
8tableattachmentattachment21CREATE TABLE "attachment" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "file_key" VARCHAR(255) NOT NULL, "content_type" VARCHAR(255) NOT NULL, "file_size" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("file_key") )
9indexsqlite_autoindex_attachment_1attachment22
10tableydk_deckydk_deck23CREATE TABLE "ydk_deck" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "category_id" INTEGER, "created_by" STRING NOT NULL, "name" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("name") )
11indexsqlite_autoindex_ydk_deck_1ydk_deck24
12tablecategorycategory27CREATE TABLE "category" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" STRING NOT NULL, "left" INTEGER NOT NULL, "right" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
13tablecc_itemcc_item2939CREATE TABLE "cc_item" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "product_name" STRING NOT NULL, "category" STRING NOT NULL, "wishlists" INTEGER NOT NULL, "buy_price" REAL NOT NULL, "sell_price" REAL NOT NULL, "url" STRING, "barcode" STRING, "manufacturer_sku" STRING, "amazon_asin" STRING, "msrp" REAL, "brand" STRING, "weight" REAL NOT NULL, "description" STRING, "max_qty" INTEGER, "total_qty" INTEGER NOT NULL, "domestic_only" INTEGER NOT NULL, "tax_exempt" INTEGER NOT NULL, "name" STRING, "code" STRING, "rarity" STRING, "edition" STRING, "passcode" INTEGER, "condition" STRING NOT NULL, "language" STRING NOT NULL, "opt_qty" INTEGER NOT NULL, "reserved_qty" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
14tableygo_miscygo_misc31807CREATE TABLE "ygo_misc" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode" INTEGER NOT NULL, "beta_name" INTEGER NOT NULL, "views" INTEGER NOT NULL, "viewsweek" INTEGER NOT NULL, "upvotes" INTEGER NOT NULL, "downvotes" INTEGER NOT NULL, "tcg_date" STRING NOT NULL, "ocg_date" STRING NOT NULL, "konami_id" INTEGER NOT NULL, "has_effect" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
15tablefeedbackfeedback7CREATE TABLE "feedback" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "body" STRING NOT NULL, "user_id" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
16tableconstructed_deck_itemconstructed_deck_item30965CREATE TABLE "constructed_deck_item" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "name_id" INTEGER NOT NULL, "code_id" INTEGER NOT NULL, "rarity_id" INTEGER NOT NULL, "edition_id" INTEGER NOT NULL, "price" INTEGER NOT NULL, "origin_id_id" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
17tableconstructed_decksconstructed_decks30966CREATE TABLE "constructed_decks" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" STRING NOT NULL, "passcode_id" INTEGER NOT NULL, "sell_price" INTEGER NOT NULL, "origin_id_id" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
18tableygo_cards_misc_infoygo_cards_misc_info2601CREATE TABLE "ygo_cards_misc_info" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "views" INTEGER NOT NULL, "viewsweek" INTEGER NOT NULL, "upvotes" INTEGER NOT NULL, "downvotes" INTEGER NOT NULL, "beta_id" INTEGER, "beta_name_id" INTEGER, "staple" INTEGER, "konami_id" INTEGER NOT NULL, "treated_as" INTEGER, "has_effect" INTEGER, "question_atk" INTEGER, "question_def" INTEGER, "tcg_date" TIMESTAMP, "ocg_date" TIMESTAMP, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
19tableygo_set_rarity_code_abbrygo_set_rarity_code_abbr1758CREATE TABLE "ygo_set_rarity_code_abbr" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "code" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("code") )
20indexsqlite_autoindex_ygo_set_rarity_code_abbr_1ygo_set_rarity_code_abbr1759
21tableget_column_real_typeget_column_real_type4CREATE TABLE get_column_real_type ( test TIMESTAMP )
22tableygo_card_nameygo_card_name17CREATE TABLE "ygo_card_name" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("name") )
23indexsqlite_autoindex_ygo_card_name_1ygo_card_name1501
24tableygo_card_typeygo_card_type1512CREATE TABLE "ygo_card_type" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "card_type" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("card_type") )
25indexsqlite_autoindex_ygo_card_type_1ygo_card_type1515
26tableygo_card_frame_typeygo_card_frame_type1517CREATE TABLE "ygo_card_frame_type" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "frame_type" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("frame_type") )
27indexsqlite_autoindex_ygo_card_frame_type_1ygo_card_frame_type1539
28tableygo_card_raceygo_card_race1541CREATE TABLE "ygo_card_race" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "race" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("race") )
29indexsqlite_autoindex_ygo_card_race_1ygo_card_race1544
30tableygo_card_archetypeygo_card_archetype1554CREATE TABLE "ygo_card_archetype" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "archetype" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("archetype") )
31indexsqlite_autoindex_ygo_card_archetype_1ygo_card_archetype1562
32tableygo_card_attributeygo_card_attribute1566CREATE TABLE "ygo_card_attribute" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "attribute" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("attribute") )
33indexsqlite_autoindex_ygo_card_attribute_1ygo_card_attribute1567
34tableygo_cardygo_card1571CREATE TABLE "ygo_card" ( "id" INTEGER NOT NULL PRIMARY KEY, "name_id" INTEGER NOT NULL, "desc" STRING NOT NULL, "archetype_id" INTEGER, "attribute_id" INTEGER, "atk" INTEGER, "def" INTEGER, "scale" INTEGER, "level" INTEGER, "frame_type_id" INTEGER NOT NULL, "race_id" INTEGER NOT NULL, "card_type_id" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
35tableygo_card_misc_infoygo_card_misc_info1576CREATE TABLE "ygo_card_misc_info" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "views" INTEGER NOT NULL, "viewsweek" INTEGER NOT NULL, "upvotes" INTEGER NOT NULL, "downvotes" INTEGER NOT NULL, "beta_id" INTEGER, "beta_name_id" INTEGER, "staple" INTEGER, "konami_id" INTEGER NOT NULL, "treated_as_id" INTEGER, "has_effect" INTEGER, "question_atk" INTEGER, "question_def" INTEGER, "tcg_date" TIMESTAMP, "ocg_date" TIMESTAMP, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
36tableygo_set_nameygo_set_name1583CREATE TABLE "ygo_set_name" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "set_name" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("set_name") )
37indexsqlite_autoindex_ygo_set_name_1ygo_set_name1585
38tableygo_set_codeygo_set_code1590CREATE TABLE "ygo_set_code" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "set_code" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("set_code") )
39indexsqlite_autoindex_ygo_set_code_1ygo_set_code1591
40tableygo_set_rarityygo_set_rarity1592CREATE TABLE "ygo_set_rarity" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "rarity" STRING NOT NULL, "code" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
41tableygo_set_editionygo_set_edition1594CREATE TABLE "ygo_set_edition" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "set_edition" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("set_edition") )
42indexsqlite_autoindex_ygo_set_edition_1ygo_set_edition1596
43tableygo_linkmarker_nameygo_linkmarker_name1600CREATE TABLE "ygo_linkmarker_name" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
44tableygo_linkmarkerygo_linkmarker1601CREATE TABLE "ygo_linkmarker" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "bottom_id" INTEGER, "bottom_left_id" INTEGER, "bottom_right_id" INTEGER, "left_id" INTEGER, "right_id" INTEGER, "top_id" INTEGER, "top_left_id" INTEGER, "top_right_id" INTEGER, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
45tableygo_format_nameygo_format_name1603CREATE TABLE "ygo_format_name" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
46tableygo_formatygo_format1613CREATE TABLE "ygo_format" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER, "common_charity_id" INTEGER, "duel_links_id" INTEGER, "edison_id" INTEGER, "goat_id" INTEGER, "ocg_id" INTEGER, "ocg_goat_id" INTEGER, "speed_duel_id" INTEGER, "tcg_id" INTEGER, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
47tableygo_banlist_nameygo_banlist_name1620CREATE TABLE "ygo_banlist_name" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "name" STRING NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
48tableygo_banlistygo_banlist1624CREATE TABLE "ygo_banlist" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "ban_goat_id" INTEGER, "ban_ocg_id" INTEGER, "ban_tcg_id" INTEGER, "created_at" TIMESTAMP, "updated_at" TIMESTAMP, UNIQUE ("passcode_id") )
49indexsqlite_autoindex_ygo_banlist_1ygo_banlist1625
50tableygo_alternative_artworkygo_alternative_artwork1629CREATE TABLE "ygo_alternative_artwork" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "alternate_id" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
51tableygo_priceygo_price1632CREATE TABLE "ygo_price" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "cardmarket_price" INTEGER NOT NULL, "tcgplayer_price" INTEGER NOT NULL, "ebay_price" INTEGER NOT NULL, "amazon_price" INTEGER NOT NULL, "coolstuffinc_price" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )
52tableygo_setygo_set1597CREATE TABLE "ygo_set" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT, "passcode_id" INTEGER NOT NULL, "name_id" INTEGER NOT NULL, "code_id" INTEGER NOT NULL, "rarity_id" INTEGER NOT NULL, "edition_id" INTEGER NOT NULL, "price" INTEGER NOT NULL, "created_at" TIMESTAMP, "updated_at" TIMESTAMP )