3.3 Struktur Database
Struktur database menggambarkan data-data yang ada dalam database beserta tipe dan kegunaannya.
3.3.1 Tabel MstGame
Nama Tabel : MstGame Primary Key : GameID
Foreign Key : MapID, TeamID Fungsi
: Menyimpan informasi data Master Game Replay Tabel 3.12. Struktur Tabel MstGame
Field Tipe
Ukuran Keterangan
GameID Int
- MapID
Int -
TeamID Int
- TeamName
Varchar 255
ProReplay bit
-
3.3.2 Tabel BanPhase
Nama Tabel : BanPhase Primary Key : BanID
Foreign Key : MapID, TeamID, Game ID Fungsi
: Menyimpan informasi data Ban Phase Tabel 3.13. Struktur Tabel BanPhase
Field Tipe
Ukuran Keterangan
BanID Int
- MapID
Int -
GameID Int
- TeamID
Int -
HeroesID Int
-
3.3.3 Tabel PickPhase
Nama Tabel : PickPhase Primary Key : PickID
Foreign Key : MapID, TeamID, Game ID Fungsi
: Menyimpan informasi data PickPhase Tabel 3.14. Struktur Tabel PickPhase
Field Tipe
Ukuran Keterangan
PickID Int
- MapID
Int -
GameID Int
- TeamID
Int -
HeroesID Int
-
3.3.4 Tabel MstHeroes
Nama Tabel : MstHeroes Primary Key : HeroesID
Foreign Key : - Fungsi
: Menyimpan informasi data Heroes Tabel 3.15. Struktur Tabel MstHeroes
Field Tipe
Ukuran Keterangan
HeroesID Int
- HeroType
Varchar 3
HeroName Varchar
100 HeroLocation
Varchar 20
HeroPic Varchar
255
3.3.5 Tabel MstCounterHeroes
Nama Tabel : MstCounterHeroes
Primary Key : CounterID, CounterHeroesID Foreign Key : HeroesID
Fungsi : Menyimpan informasi data Counter Heroes
Tabel 3.16. Struktur Tabel MstCounterHeroes
Field Tipe
Ukuran Keterangan
CounterID Int
- CounterHeroesID
Int -
HeroesID Int
-
3.3.6 Tabel MstComboHeroes
Nama Tabel : MstComboHeroes Primary Key : ComboID
Foreign Key : - Fungsi
: Menyimpan informasi data ComboHeroes Tabel 3.17. Struktur Tabel MstComboHeroes
Field Tipe
Ukuran Keterangan
ComboID Varchar
8 HeroesID1
Int -
HeroesID2 Int
- isCombo2
bit -
HeroesID3 Int
-
3.3.7 Tabel MstAttributes
Nama Tabel : MstAttributes Primary Key : AttributeID
Foreign Key : -
Fungsi : Menyimpan informasi data Attribute
Tabel 3.18. Struktur Tabel MstAttributes
Field Tipe
Ukuran Keterangan
AttributeID Int
- AttributeName
Varchar 15
3.3.8 Tabel MstMap