394 lines
13 KiB
Plaintext
394 lines
13 KiB
Plaintext
|
type,name,tbl_name,rootpage,sql
|
||
|
table,deck_item,deck_item,2,"CREATE 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
|
||
|
)"
|
||
|
table,sqlite_sequence,sqlite_sequence,3,"CREATE TABLE sqlite_sequence(name,seq)"
|
||
|
table,ygo_info,ygo_info,8,"CREATE 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
|
||
|
)"
|
||
|
table,users-feedback,users-feedback,12,"CREATE TABLE ""users-feedback"" (
|
||
|
""rowid"" INTEGER PRIMARY KEY,
|
||
|
""userid"" INTEGER,
|
||
|
""text"" STRING,
|
||
|
""created-at"" STRING,
|
||
|
""updated-at"" STRING
|
||
|
)"
|
||
|
table,ygoprodeck-card-data,ygoprodeck-card-data,13,"CREATE 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
|
||
|
)"
|
||
|
table,ygoprodeck-card-sets,ygoprodeck-card-sets,14,"CREATE 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
|
||
|
)"
|
||
|
table,attachment,attachment,21,"CREATE 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"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_attachment_1,attachment,22,
|
||
|
table,ydk_deck,ydk_deck,23,"CREATE 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"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ydk_deck_1,ydk_deck,24,
|
||
|
table,category,category,27,"CREATE 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
|
||
|
)"
|
||
|
table,cc_item,cc_item,2939,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_misc,ygo_misc,31807,"CREATE 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
|
||
|
)"
|
||
|
table,feedback,feedback,7,"CREATE TABLE ""feedback"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""body"" STRING NOT NULL,
|
||
|
""user_id"" INTEGER NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP
|
||
|
)"
|
||
|
table,constructed_deck_item,constructed_deck_item,30965,"CREATE 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
|
||
|
)"
|
||
|
table,constructed_decks,constructed_decks,30966,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_cards_misc_info,ygo_cards_misc_info,2601,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_set_rarity_code_abbr,ygo_set_rarity_code_abbr,1758,"CREATE TABLE ""ygo_set_rarity_code_abbr"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""code"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""code"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_set_rarity_code_abbr_1,ygo_set_rarity_code_abbr,1759,
|
||
|
table,get_column_real_type,get_column_real_type,4,"CREATE TABLE get_column_real_type (
|
||
|
test TIMESTAMP
|
||
|
)"
|
||
|
table,ygo_card_name,ygo_card_name,17,"CREATE TABLE ""ygo_card_name"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""name"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""name"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_card_name_1,ygo_card_name,1501,
|
||
|
table,ygo_card_type,ygo_card_type,1512,"CREATE TABLE ""ygo_card_type"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""card_type"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""card_type"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_card_type_1,ygo_card_type,1515,
|
||
|
table,ygo_card_frame_type,ygo_card_frame_type,1517,"CREATE TABLE ""ygo_card_frame_type"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""frame_type"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""frame_type"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_card_frame_type_1,ygo_card_frame_type,1539,
|
||
|
table,ygo_card_race,ygo_card_race,1541,"CREATE TABLE ""ygo_card_race"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""race"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""race"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_card_race_1,ygo_card_race,1544,
|
||
|
table,ygo_card_archetype,ygo_card_archetype,1554,"CREATE TABLE ""ygo_card_archetype"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""archetype"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""archetype"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_card_archetype_1,ygo_card_archetype,1562,
|
||
|
table,ygo_card_attribute,ygo_card_attribute,1566,"CREATE TABLE ""ygo_card_attribute"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""attribute"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""attribute"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_card_attribute_1,ygo_card_attribute,1567,
|
||
|
table,ygo_card,ygo_card,1571,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_card_misc_info,ygo_card_misc_info,1576,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_set_name,ygo_set_name,1583,"CREATE TABLE ""ygo_set_name"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""set_name"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""set_name"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_set_name_1,ygo_set_name,1585,
|
||
|
table,ygo_set_code,ygo_set_code,1590,"CREATE TABLE ""ygo_set_code"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""set_code"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""set_code"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_set_code_1,ygo_set_code,1591,
|
||
|
table,ygo_set_rarity,ygo_set_rarity,1592,"CREATE TABLE ""ygo_set_rarity"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""rarity"" STRING NOT NULL,
|
||
|
""code"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP
|
||
|
)"
|
||
|
table,ygo_set_edition,ygo_set_edition,1594,"CREATE TABLE ""ygo_set_edition"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""set_edition"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP,
|
||
|
UNIQUE (""set_edition"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_set_edition_1,ygo_set_edition,1596,
|
||
|
table,ygo_linkmarker_name,ygo_linkmarker_name,1600,"CREATE TABLE ""ygo_linkmarker_name"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""name"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP
|
||
|
)"
|
||
|
table,ygo_linkmarker,ygo_linkmarker,1601,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_format_name,ygo_format_name,1603,"CREATE TABLE ""ygo_format_name"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""name"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP
|
||
|
)"
|
||
|
table,ygo_format,ygo_format,1613,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_banlist_name,ygo_banlist_name,1620,"CREATE TABLE ""ygo_banlist_name"" (
|
||
|
""id"" INTEGER PRIMARY KEY AUTOINCREMENT,
|
||
|
""name"" STRING NOT NULL,
|
||
|
""created_at"" TIMESTAMP,
|
||
|
""updated_at"" TIMESTAMP
|
||
|
)"
|
||
|
table,ygo_banlist,ygo_banlist,1624,"CREATE 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"")
|
||
|
)"
|
||
|
index,sqlite_autoindex_ygo_banlist_1,ygo_banlist,1625,
|
||
|
table,ygo_alternative_artwork,ygo_alternative_artwork,1629,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_price,ygo_price,1632,"CREATE 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
|
||
|
)"
|
||
|
table,ygo_set,ygo_set,1597,"CREATE 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
|
||
|
)"
|