Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Untitled *
v Show/Hide tables list View in fullscreen Add tables from other databases New page Open page Save page Save page as Delete pages Create table Create relationship Choose column to display Reload Help Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > Move Menu > Pin text
Number of tables: 0
v legend_lords friends
* id : int(11)
* user_id : int(11)
* friend_id : int(11)
* created_at : timestamp
v legend_lords gifts
* id : int(11)
* user_id : int(11)
* item_id : int(11)
v legend_lords heroes
* id : int(11)
* name : varchar(50)
* faction : enum('alliance','berserker','undead','guardian','divine')
* class : enum('attacker','defender','support')
* rarity : enum('common','rare','epic','legendary')
* hp : int(11)
* mp : int(11)
* damage : int(11)
* abilities : longtext
* image : varchar(255)
* class_bonus : varchar(100)
* user_id : int(10) unsigned
* warrior_id : int(10) unsigned
* level : int(11)
* experience : int(11)
* weapon_id : int(11)
* armor_id : int(11)
* accessory_id : int(11)
v legend_lords items
* id : int(11)
* name : varchar(255)
* item_category : varchar(50)
* rarity : enum('common','rare','epic','legendary')
* stats : longtext
* created_at : timestamp
* attack_bonus : int(11)
* defense_bonus : int(11)
* image : varchar(255)
* item_type : varchar(50)
* level_required : int(11)
* price : int(11)
v legend_lords login_rewards
* id : int(11)
* user_id : int(11)
* reward_id : int(11)
* login_streak : int(11)
* last_login : date
v legend_lords messages
* id : int(11)
* user_id : int(11)
* subject : varchar(255)
* body : text
* type : enum('reward','update','personal','event','promotion')
* is_read : tinyint(1)
* created_at : datetime
* is_collected : tinyint(1)
v legend_lords missions
* id : int(11)
* title : varchar(100)
* chapter : varchar(50)
* description : text
* difficulty : int(11)
* rewards : longtext
* is_completed : tinyint(1)
v legend_lords profile_images
* id : int(11)
* image_path : varchar(255)
v legend_lords resources
* id : int(11)
* name : varchar(50)
* type : enum('currency','resource','premium','material')
* description : text
* value : int(11)
* image_path : varchar(255)
v legend_lords rewards
* id : int(11)
* name : varchar(255)
* type : varchar(50)
* value : int(11)
* description : text
* rarity : varchar(50)
* created_at : timestamp
v legend_lords rewards_new
* id : int(11)
* name : varchar(255)
* type : enum('gold','gems','equipment','lootbox','scroll','resource')
* value : int(11)
* description : text
* rarity : enum('common','rare','epic','legendary')
* created_at : timestamp
v legend_lords rewards_temp
* id : int(11)
* name : varchar(255)
* type : enum('gold','gems','equipment','lootbox','scroll','resource')
* value : int(11)
* description : text
* rarity : enum('common','rare','epic','legendary')
* created_at : timestamp
v legend_lords storage
* id : int(11)
* user_id : int(11)
* item_id : int(11)
* quantity : int(11)
v legend_lords teams
* id : int(11)
* user_id : int(11)
* hero_ids : longtext
* created_at : timestamp
* updated_at : timestamp
v legend_lords users
* id : int(11)
* username : varchar(50)
* password : varchar(255)
* email : varchar(100)
* avatar : varchar(255)
* title : varchar(100)
* experience : int(11)
* level : int(11)
* created_at : timestamp
* updated_at : timestamp
* name : varchar(100)
* profile_image_id : int(11)
* age : int(11)
* gender : enum('Male','Female','Other')
* custom_message : varchar(255)
* google_user : tinyint(1)
* google_id : varchar(255)
v legend_lords user_chat
* id : int(11)
* user_id : int(11)
* username : varchar(50)
* message : text
* timestamp : timestamp
v legend_lords user_fighters
* id : int(11)
* user_id : int(11)
* fighter_id : int(11)
* level : int(11)
* experience : int(11)
* selected : tinyint(1)
* weapon_id : int(11)
* armor_id : int(11)
* accessory_id : int(11)
* helmet : int(11)
* armor : int(11)
* boots : int(11)
* accessory : int(11)
* select : tinyint(1)
v legend_lords user_heroes
* id : int(11)
* name : varchar(100)
* faction : varchar(50)
* class : varchar(50)
* hp : int(11)
* mp : int(11)
* image : varchar(255)
* class_bonus : varchar(100)
* user_id : int(11)
* fighters : tinyint(1)
* helmet_id : int(11)
* weapon_id : int(11)
* armor_id : int(11)
* shield_id : int(11)
* boots_id : int(11)
* accessory_id : int(11)
* select : tinyint(1)
v legend_lords user_items
* id : int(11)
* user_id : int(11)
* hero_id : int(11)
* item_id : int(11)
* item_type : varchar(50)
* item_category : varchar(50)
* quantity : int(11)
* equipped : tinyint(1)
v legend_lords user_mail
* id : int(11)
* user_id : int(11)
* subject : varchar(255)
* item_ids : text
* hero_ids : text
* created_at : timestamp
* is_collected : tinyint(1)
v legend_lords user_progress
* id : int(11)
* user_id : int(11)
* mission_id : int(11)
* is_completed : tinyint(1)
* progress : int(11)
v legend_lords user_resources
* id : int(11)
* user_id : int(11)
* resource_id : int(11)
* quantity : int(11)
* gold : int(11)
* gems : int(11)
* energy : int(11)
v legend_lords user_rewards
* id : int(11)
* user_id : int(11)
* reward_id : int(11)
* amount : int(11)
* created_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship