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 numaenshop announces
* id : bigint(20) unsigned
* title : varchar(255)
* content : text
* image_url : text
* status : enum('ACTIVE','INACTIVE','HIDDEN')
* start_date : timestamp
* end_date : timestamp
* created_at : timestamp
* updated_at : timestamp
v numaenshop api_keys
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* name : varchar(255)
* api_key : varchar(64)
* callback_url : varchar(255)
* allowed_ips : longtext
* description : text
* is_active : tinyint(1)
* last_used_at : timestamp
* request_count : bigint(20)
* rate_limit_per_minute : int(11)
* rate_limit_per_hour : int(11)
* rate_limit_per_day : int(11)
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v numaenshop codes
* id : bigint(20) unsigned
* code : varchar(255)
* amount : decimal(30,2)
* status : enum('ACTIVE','INACTIVE','EXPIRED')
* start_at : timestamp
* expired_at : timestamp
* limit : int(11)
* max_usage_per_user : int(11)
* created_at : timestamp
* updated_at : timestamp
v numaenshop failed_jobs
* id : bigint(20) unsigned
* uuid : varchar(255)
* connection : text
* queue : text
* payload : longtext
* exception : longtext
* failed_at : timestamp
v numaenshop garena_accounts
* id : bigint(20) unsigned
* username : varchar(255)
* password : varchar(255)
* setup_key : text
* status : enum('ACTIVE','IDLE')
* balance : decimal(30,2)
* uid : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v numaenshop garena_redeems
* id : bigint(20) unsigned
* card_password : varchar(255)
* result : varchar(255)
* reference_id : varchar(255)
* account : varchar(255)
* status : varchar(255)
* trace_id : varchar(255)
* friend_username : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v numaenshop jobs
* id : bigint(20) unsigned
* queue : varchar(255)
* payload : longtext
* attempts : tinyint(3) unsigned
* reserved_at : int(10) unsigned
* available_at : int(10) unsigned
* created_at : int(10) unsigned
v numaenshop leave_requests
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* leave_type : enum('SICK','ANNUAL','PERSONAL','EMERGENCY','MATERNITY','PATERNITY','OTHER')
* start_date : date
* end_date : date
* total_days : decimal(4,1)
* reason : text
* attachments : longtext
* remarks : text
* status : enum('PENDING','APPROVED','REJECTED')
* approved_by : bigint(20) unsigned
* approved_at : timestamp
* approval_remarks : text
* created_at : timestamp
* updated_at : timestamp
v numaenshop migrations
* id : int(10) unsigned
* migration : varchar(255)
* batch : int(11)
v numaenshop notifications
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* message : text
* label : enum('success','info','warning','error')
* status : enum('UNREAD','READ')
* metadata : longtext
* redirect_url : text
* created_at : timestamp
* updated_at : timestamp
v numaenshop orders
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* reference : varchar(255)
* status : enum('PENDING','PROCESSING','COMPLETED','CANCELLED','DECLINED','REFUNDED','FAILED','PARTIAL_COMPLETED')
* remarks : text
* product_variant_id : varchar(255)
* quantity : int(11)
* snapshot_data : longtext
* metadata : longtext
* success_count : int(11)
* failed_count : int(11)
* dynasty_cost : decimal(10,2)
* moogold_cost : decimal(10,2)
* product_snapshot : longtext
* variant_snapshot : longtext
* order_source : varchar(255)
* api_key_id : varchar(255)
* external_reference : varchar(255)
* previous_balance : decimal(10,0)
* after_balance : decimal(10,0)
* created_at : timestamp
* updated_at : timestamp
v numaenshop order_items
* id : bigint(20) unsigned
* order_id : bigint(20) unsigned
* product_variant_id : bigint(20) unsigned
* quantity : int(11)
* unit_price : decimal(10,2)
* total_price : decimal(10,2)
* variant_snapshot : longtext
* status : enum('PENDING','PROCESSING','COMPLETED','FAILED')
* remarks : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v numaenshop otps
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* pass_code : varchar(255)
* ref_code : varchar(255)
* metadata : longtext
* created_at : timestamp
* updated_at : timestamp
v numaenshop package_shelves
* id : bigint(20) unsigned
* shelve_id : bigint(20) unsigned
* product_variant_id : bigint(20) unsigned
* sequence : int(11)
* created_at : timestamp
* updated_at : timestamp
v numaenshop payments
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* payment_channel_id : bigint(20) unsigned
* reference : varchar(255)
* amount : decimal(30,2)
* status : enum('PENDING','IN_PROGRESS','SUCCESS','FAILED','CANCELLED')
* metadata : text
* remarks : text
* paid_at : timestamp
* expired_at : timestamp
* cancelled_at : timestamp
* created_at : timestamp
* updated_at : timestamp
v numaenshop payment_channels
* id : bigint(20) unsigned
* name : varchar(255)
* status : enum('ACTIVE','INACTIVE','HIDDEN')
* fee_percentage : decimal(5,2)
* custom_fee : decimal(10,2)
* description : text
* config : longtext
* guide_image_url : varchar(255)
* image_url : varchar(255)
* code : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v numaenshop personal_access_tokens
* id : bigint(20) unsigned
* tokenable_type : varchar(255)
* tokenable_id : bigint(20) unsigned
* name : varchar(255)
* token : varchar(64)
* abilities : text
* last_used_at : timestamp
* expires_at : timestamp
* created_at : timestamp
* updated_at : timestamp
v numaenshop positions
* id : bigint(20) unsigned
* name : varchar(255)
* description : text
* created_at : timestamp
* updated_at : timestamp
* can_approve_overtime : tinyint(1)
* can_approve_leave : tinyint(1)
* approval_permissions : longtext
v numaenshop products
* id : bigint(20) unsigned
* name : varchar(255)
* description : text
* status : enum('ACTIVE','INACTIVE','HIDDEN')
* image : varchar(255)
* product_code : varchar(255)
* sequence : int(11)
* guide_image : varchar(255)
* discount_percentage : decimal(10,2)
* provider : enum('WePAY','LOCAL-AUTO','LOCAL-MANUAL','RAZERGOLD','RAZERGOLD-AUTO','GARENA','RAZERSILVER-AUTO','MOOGOLD','DYNASTY','LAPAKGAMING','NETEASE')
* required_server : tinyint(1)
* servers : longtext
* metadata : longtext
* exchange_rate : decimal(10,6)
* created_at : timestamp
* updated_at : timestamp
v numaenshop product_variants
* id : bigint(20) unsigned
* product_id : bigint(20) unsigned
* name : varchar(255)
* description : text
* status : enum('ACTIVE','INACTIVE','HIDDEN')
* image : varchar(255)
* sku : varchar(255)
* price : decimal(10,2)
* custom_price : decimal(10,2)
* discounted_price : decimal(10,2)
* cost : decimal(30,2)
* custom_discount_percentage : decimal(10,2)
* sequence : int(11)
* unit : varchar(255)
* regular_rate : decimal(10,2)
* reseller_rate : decimal(10,2)
* provider_code : varchar(255)
* stock_status : varchar(255)
* created_at : timestamp
* updated_at : timestamp
* custom_reseller_price : decimal(10,2)
v numaenshop razer_accounts
* id : bigint(20) unsigned
* email : varchar(255)
* password : varchar(255)
* setup_key : text
* country_code : varchar(10)
* remaining_balance : decimal(30,2)
* remaining_balance_silver : decimal(30,2)
* status : enum('ACTIVE','INACTIVE','EXPIRED')
* cost : decimal(30,2)
* remarks : text
* reserved_queue_id : int(11)
* created_worker : tinyint(1)
* credentials : longtext
* created_at : timestamp
* updated_at : timestamp
v numaenshop razer_receipt_logs
* id : bigint(20) unsigned
* raw_html : longtext
* service : varchar(255)
* recipient : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v numaenshop razer_task_accounts
* id : bigint(20) unsigned
* razer_account_id : bigint(20) unsigned
* game_id : varchar(255)
* product_id : varchar(255)
* total_count : int(11)
* limit : int(11)
* status : enum('ACTIVE','INACTIVE','COMPLETED')
* region_id : int(255)
* created_at : timestamp
* updated_at : timestamp
v numaenshop recharge_slips
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* approved_by : bigint(20) unsigned
* requested_amount : decimal(10,2)
* approved_amount : decimal(10,2)
* status : enum('PENDING','APPROVED','REJECTED','CANCELLED')
* remarks : text
* image_url : varchar(255)
* original_filename : varchar(255)
* mime_type : varchar(255)
* file_size : bigint(20)
* qr_code : text
* trans_ref : varchar(255)
* submitted_at : timestamp
* reviewed_at : timestamp
* metadata : longtext
* created_at : timestamp
* updated_at : timestamp
v numaenshop shelves
* id : bigint(20) unsigned
* product_id : bigint(20) unsigned
* name : varchar(255)
* sequence : int(11)
* status : enum('ACTIVE','INACTIVE')
* allow_select_all_to_checkout : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v numaenshop sms_otp_sessions
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* ref_code : varchar(255)
* otp_code : varchar(255)
* phone_number : varchar(255)
* type : enum('login','verification')
* is_verified : tinyint(1)
* expires_at : timestamp
* verified_at : timestamp
* metadata : longtext
* created_at : timestamp
* updated_at : timestamp
v numaenshop supply_balances
* id : bigint(20) unsigned
* provider : varchar(255)
* name : varchar(255)
* balance : decimal(15,2)
* exchange_rate : decimal(15,6)
* updated_by : int(11)
* created_at : timestamp
* updated_at : timestamp
v numaenshop timesheets
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* type : enum('WORK','LEAVE','WORK_OVERTIME')
* check_in_time : datetime
* check_out_time : datetime
* check_in_lat : decimal(10,8)
* check_in_lng : decimal(11,8)
* check_out_lat : decimal(10,8)
* check_out_lng : decimal(11,8)
* ot_start_time : datetime
* ot_end_time : datetime
* ot_status : enum('PENDING','APPROVED','REJECTED')
* ot_approved_by : bigint(20) unsigned
* ot_approved_at : timestamp
* ot_remarks : text
* remarks : text
* total_hours : decimal(8,2)
* ot_hours : decimal(8,2)
* status : enum('PENDING','APPROVED','REJECTED','COMPLETED')
* created_at : timestamp
* updated_at : timestamp
* over_time_status : enum('PENDING','APPROVED','REJECTED')
* over_time_approver_id : bigint(20) unsigned
* over_time_approved_at : datetime
* start_over_time : datetime
* end_over_time : datetime
* leave_type : enum('SICK_LEAVE','PERSONAL_LEAVE','ANNUAL_LEAVE','MATERNITY_LEAVE','PATERNITY_LEAVE','BEREAVEMENT_LEAVE','EMERGENCY_LEAVE','STUDY_LEAVE','COMPENSATORY_LEAVE','UNPAID_LEAVE','NATIONAL_HOLIDAY_LEAVE')
* leave_start_date : date
* leave_end_date : date
* leave_reason : text
* leave_approver_id : bigint(20) unsigned
* leave_status : enum('PENDING','APPROVED','REJECTED')
* leave_approved_at : timestamp
* leave_rejection_reason : text
* metadata : longtext
* image_attachments : longtext
v numaenshop transactions
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* amount : decimal(10,2)
* type : enum('RECEIVE','SEND','DEPOSIT','PAYMENT','REFUND','ADJUSTMENT')
* status : enum('PENDING','PROCESSING','COMPLETED','CANCELLED','DECLINED','FAILED')
* reference : varchar(255)
* metadata : longtext
* remarks : text
* created_at : timestamp
* updated_at : timestamp
v numaenshop users
* id : bigint(20) unsigned
* name : varchar(255)
* username : varchar(255)
* password : varchar(255)
* profile_image : varchar(255)
* balance : decimal(10,2)
* role : enum('ADMIN','MEMBER','MODERATOR','RESELLER')
* status : enum('ACTIVE','INACTIVE')
* mobile_number : varchar(255)
* sms_otp_phone : varchar(255)
* line_id : varchar(100)
* remember_token : varchar(100)
* permissions : longtext
* position_id : int(11)
* two_factor_secret : longtext
* two_factor_recovery_codes : longtext
* two_factor_confirmed_at : timestamp
* created_at : timestamp
* updated_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship