generated from admin/template
114 lines
2.4 KiB
Plaintext
114 lines
2.4 KiB
Plaintext
Table card {
|
|
card_id int [pk]
|
|
card_number text [NOT NULL]
|
|
card_set_id int
|
|
card_name text
|
|
card_rarity text
|
|
card_type text
|
|
card_image_url text
|
|
}
|
|
Table card_set {
|
|
set_id int [pk, not null]
|
|
set_name text [NOT NULL]
|
|
set_code int [ primary key]
|
|
set_series text
|
|
set_total_cards int
|
|
set_release_date date
|
|
set_logo_url text
|
|
set_symbol_url text
|
|
}
|
|
Table attack_name {
|
|
attack_name_id int [NOT NULL]
|
|
attack_name_title text [NOT NULL]
|
|
}
|
|
Table trainer_card {
|
|
trainer_card_id int [pk]
|
|
trainer_printed_type_id int
|
|
trainer_effect_text text
|
|
trainer_is_ace_spec bool
|
|
}
|
|
Table energy_card {
|
|
energy_card_id int [pk]
|
|
energy_is_special bool
|
|
energy_main_type_id int
|
|
energy_effect_text text
|
|
}
|
|
table energy_type {
|
|
energy_type_id int [pk]
|
|
energy_type_name text
|
|
energy_type_icon_url text
|
|
}
|
|
table pokemon_sub_type {
|
|
sub_type_id int [pk]
|
|
sub_type_name text
|
|
sub_type_default_prize_count int
|
|
sub_type_global_rule_text text
|
|
}
|
|
table ability_type {
|
|
ability_type_id int [pk]
|
|
ability_type_name text
|
|
}
|
|
table trainer_printed_type {
|
|
printed_type_id int [pk]
|
|
printed_type_name text
|
|
}
|
|
table game_mechanic {
|
|
game_mechanic int [pk]
|
|
mechanic_name text
|
|
}
|
|
table pokemon_species {
|
|
species_pokedex_number int
|
|
species_eng_name text
|
|
species_generation int
|
|
species_height_m float
|
|
species_weight_kg float
|
|
}
|
|
table pokedex_entry {
|
|
entry_id int [pk]
|
|
entry_pokedex_number int
|
|
entry_source_game text
|
|
entry_description text
|
|
}
|
|
table pokemon_card {
|
|
pokemon_card_id int [pk]
|
|
pokemon_pokedex_number int
|
|
pokemon_pokedex_entry_id int
|
|
pokemon_hp int
|
|
pokemon_stage text
|
|
pokemon_evolves_from text
|
|
pokemon_retreat_cost int
|
|
pokemon_sub_type_id int
|
|
pokemon_category text
|
|
pokemon_printed_height text
|
|
pokemon_printed_weight text
|
|
}
|
|
table pokemon_ability{
|
|
ability_pokemon_card_id int [pk]
|
|
ability_type_id int
|
|
ability_name text
|
|
ability_effect_text text
|
|
}
|
|
table pokemon_attack_link {
|
|
link_id int
|
|
link_pokemon_card_id int
|
|
link_attack_name_id int
|
|
link_damage_value text
|
|
link_effect_text text
|
|
}
|
|
table attack_energy_cost {
|
|
cost_id int
|
|
cost_link_id int
|
|
cost_energy_type_id int
|
|
cost_quantity int
|
|
}
|
|
table pokemon_attribute {
|
|
attribute_id int
|
|
attribute_pokemon_card_id int
|
|
attribute_energy_type_id int
|
|
attribute_kind text
|
|
attribute_modifier_value text
|
|
}
|
|
table trainer_mechanic_link {
|
|
mechanic_link_trainer_card_id int
|
|
mechanic_link_mechanic_id int
|
|
} |