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 full-screen 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 rishta_db meeting_requests
* id : int(11)
* profile1_id : int(11)
* profile2_id : int(11)
* status : enum('pending_payment','payment_received','arranged','completed','cancelled')
* profile1_paid : tinyint(1)
* profile2_paid : tinyint(1)
* meeting_date : date
* meeting_notes : text
* created_at : timestamp
* updated_at : timestamp
v rishta_db payments
* id : int(11)
* user_id : int(11)
* payment_type : enum('registration','meeting','premium')
* amount : decimal(10,2)
* payment_method : enum('easypaisa','jazzcash','bank')
* reference_code : varchar(50)
* screenshot : varchar(255)
* status : enum('pending','verified','rejected')
* verified_by : int(11)
* verified_at : timestamp
* notes : text
* created_at : timestamp
* proposal_id : int(11)
v rishta_db profiles
* id : int(11)
* user_id : int(11)
* full_name : varchar(255)
* gender : enum('male','female')
* date_of_birth : date
* city : varchar(100)
* photo1 : varchar(255)
* photo2 : varchar(255)
* photo3 : varchar(255)
* height : varchar(20)
* complexion : varchar(50)
* marital_status : enum('single','divorced','widowed')
* education : varchar(255)
* occupation : varchar(255)
* income_range : varchar(100)
* description : text
* father_name : varchar(255)
* father_occupation : varchar(255)
* mother_occupation : varchar(255)
* siblings_brothers : int(11)
* siblings_sisters : int(11)
* family_type : enum('joint','nuclear')
* caste : varchar(100)
* sect : enum('sunni','shia','other')
* home_ownership : enum('own','rented')
* religion : varchar(50)
* religiousness : enum('practicing','moderate','liberal')
* pref_age_min : int(11)
* pref_age_max : int(11)
* pref_location : varchar(255)
* pref_education : varchar(255)
* pref_caste : varchar(100)
* pref_other : text
* registering_for : enum('self','parent','sibling','other')
* guardian_phone : varchar(20)
* profile_status : enum('pending','active','matched','inactive')
* created_at : timestamp
* updated_at : timestamp
v rishta_db proposals
* id : int(11)
* profile1_id : int(11)
* profile2_id : int(11)
* profile1_response : enum('pending','accepted','rejected')
* profile2_response : enum('pending','accepted','rejected')
* profile1_paid : tinyint(1)
* profile2_paid : tinyint(1)
* profile1_used_premium : tinyint(1)
* profile2_used_premium : tinyint(1)
* status : enum('pending','both_accepted','payment_pending','completed','rejected','cancelled')
* admin_notes : text
* created_at : datetime
* updated_at : datetime
v rishta_db users
* id : int(11)
* phone : varchar(20)
* cnic : varchar(15)
* email : varchar(100)
* password_hash : varchar(255)
* is_admin : tinyint(1)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
* is_premium : tinyint(1)
* premium_meetings_remaining : int(11)
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship