قم إفلات الملفات هنا

SQL upload ( 0 ) x -

الإعدادات المتعلقة بالصفحة انقر على الشريط للتمرير إلى أعلى الصفحة
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
تصحيح SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
تحديث
إضافة
لا توجد إشارات مرجعية
إضافة للمفضلة
خيارات
Set default





Collapse Expand Requery تعديل Explain جانبي Bookmark Query failed قاعدة البيانات : Queried time :
بدون عنوان *
v Show/Hide tables list View in fullscreen اضافة جداول من قواعد بيانات اخري New page فتح الصفحة احفظ الصفحة حفظ الصفحة في صيغة Delete pages أنشئ الجدول Create relationship اختر الحقل لإظهاره Reload مساعدة Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > نقل القائمة > Pin text
عدد الجداول: 0
v reemy_pos_new cafe_tables
* id : int(10) unsigned
* name : varchar(80)
* active : tinyint(1)
* sort_order : int(11)
v reemy_pos_new categories
* id : int(10) unsigned
* name : varchar(120)
* sort_order : int(11)
* active : tinyint(1)
* created_at : timestamp
v reemy_pos_new expenses
* id : bigint(20) unsigned
* user_id : int(10) unsigned
* title : varchar(180)
* amount : decimal(12,2)
* expense_date : date
* note : text
* created_at : timestamp
v reemy_pos_new orders
* id : bigint(20) unsigned
* order_no : varchar(40)
* user_id : int(10) unsigned
* shift_id : bigint(20) unsigned
* order_type : enum('takeaway','dinein')
* payment_method : enum('cash','card','mixed')
* subtotal : decimal(12,2)
* discount : decimal(12,2)
* total : decimal(12,2)
* table_id : int(10) unsigned
* notes : varchar(500)
* status : enum('completed','cancelled')
* created_at : timestamp
v reemy_pos_new order_items
* id : bigint(20) unsigned
* order_id : bigint(20) unsigned
* product_id : int(10) unsigned
* product_name : varchar(160)
* qty : decimal(12,3)
* unit_price : decimal(12,2)
* total : decimal(12,2)
v reemy_pos_new payments
* id : bigint(20) unsigned
* order_id : bigint(20) unsigned
* method : enum('cash','card')
* amount : decimal(12,2)
* created_at : timestamp
v reemy_pos_new products
* id : int(10) unsigned
* category_id : int(10) unsigned
* name : varchar(160)
* barcode : varchar(80)
* price : decimal(12,2)
* cost : decimal(12,2)
* stock_qty : decimal(12,3)
* min_stock_qty : decimal(12,3)
* track_stock : tinyint(1)
* active : tinyint(1)
* created_at : timestamp
v reemy_pos_new purchases
* id : bigint(20) unsigned
* product_id : int(10) unsigned
* user_id : int(10) unsigned
* supplier : varchar(160)
* qty : decimal(12,3)
* unit_cost : decimal(12,2)
* total : decimal(12,2)
* created_at : timestamp
v reemy_pos_new settings
* key : varchar(100)
* value : text
v reemy_pos_new shifts
* id : bigint(20) unsigned
* user_id : int(10) unsigned
* opening_cash : decimal(12,2)
* closing_cash : decimal(12,2)
* opened_at : timestamp
* closed_at : datetime
* status : enum('open','closed')
v reemy_pos_new stock_movements
* id : bigint(20) unsigned
* product_id : int(10) unsigned
* user_id : int(10) unsigned
* type : varchar(30)
* qty : decimal(12,3)
* note : varchar(255)
* reference_id : bigint(20) unsigned
* created_at : timestamp
v reemy_pos_new users
* id : int(10) unsigned
* name : varchar(120)
* username : varchar(80)
* password_hash : varchar(255)
* role : enum('admin','cashier')
* active : tinyint(1)
* created_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship