Recent
`ggth_erp`.`bookings`
`ggth_erp`.`work_order_audit_log`
`ggth_erp`.`cr_users`
`ggth_erp`.`work_order_receipts`
`phpmyadmin`.`pma__navigationhiding`
`ggth_erp`.`system_settings`
`mysql`.`table_stats`
`phpmyadmin`.`pma__central_columns`
`ggth_erp`.`vehicles`
`ggth_erp`.`users`
Favorites
There are no favorite tables.
New
ggth_erp
information_schema
mysql
performance_schema
phpmyadmin
test
Navigation panel
Navigation tree
Servers
Databases
Tables
Navigation panel
Customize appearance of the navigation panel.
Navigation panel
Show databases navigation as tree
In the navigation panel, replaces the database tree with a selector
Link with main panel
Link with main panel by highlighting the current database or table.
Display logo
Show logo in navigation panel.
Logo link URL
URL where logo in the navigation panel will point to.
Logo link target
Open the linked page in the main window (
main
) or in a new one (
new
).
main
new
Enable highlighting
Highlight server under the mouse cursor.
Maximum items on first level
The number of items that can be displayed on each page on the first level of the navigation tree.
Minimum number of items to display the filter box
Defines the minimum number of items (tables, views, routines and events) to display a filter box.
Recently used tables
Maximum number of recently used tables; set 0 to disable.
Favorite tables
Maximum number of favorite tables; set 0 to disable.
Navigation panel width
Set to 0 to collapse navigation panel.
Navigation tree
Customize the navigation tree.
Navigation tree
Maximum items in branch
The number of items that can be displayed on each page of the navigation tree.
Group items in the tree
Group items in the navigation tree (determined by the separator defined in the Databases and Tables tabs above).
Enable navigation tree expansion
Whether to offer the possibility of tree expansion in the navigation panel.
Show tables in tree
Whether to show tables under database in the navigation tree
Show views in tree
Whether to show views under database in the navigation tree
Show functions in tree
Whether to show functions under database in the navigation tree
Show procedures in tree
Whether to show procedures under database in the navigation tree
Show events in tree
Whether to show events under database in the navigation tree
Expand single database
Whether to expand single database in the navigation tree automatically.
Servers
Servers display options.
Servers
Display servers selection
Display server choice at the top of the navigation panel.
Display servers as a list
Show server listing as a list instead of a drop down.
Databases
Databases display options.
Databases
Minimum number of databases to display the database filter box
Database tree separator
String that separates databases into different tree levels.
Tables
Tables display options.
Tables
Target for quick access icon
Structure
SQL
Search
Insert
Browse
Target for second quick access icon
Structure
SQL
Search
Insert
Browse
Table tree separator
String that separates tables into different tree levels.
Maximum table tree depth
Drop files here
SQL upload (
0
)
x
-
Show hidden navigation tree items.
Create view
Javascript must be enabled past this point!
Server: 127.0.0.1
Database: ggth_erp
Table: bookings
Browse
Structure
(current)
SQL
Search
Insert
Export
Import
Privileges
Operations
Tracking
Triggers
Console
Clear
History
Options
Bookmarks
Debug SQL
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
Label:
Target database:
Share this bookmark
OK
Options
Set default
Always expand query messages
Show query history at start
Show current browsing query
Execute queries on Enter and insert new line with Shift+Enter. To make this permanent, view settings.
Switch to dark theme
Collapse
Expand
Requery
Edit
Explain
Profiling
Bookmark
Query failed
Database :
Queried time :
Loading
ENUM/SET editor
Create view
Table structure
Table structure
Settings for the table structure (list of columns).
Table structure
Hide table structure actions
Whether the table structure actions should be hidden.
Show column comments
Whether column comments should be shown in table structure view
Default transformations
Default transformations for Hex
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
2
Default transformations for Substring
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 all …
Default transformations for Bool2Text
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
T F
Default transformations for External
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 -f /dev/null -i -wrap -q 1 1
Default transformations for PreApPend
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Default transformations for DateFormat
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
0 local
Default transformations for Inline
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 100
Default transformations for TextImageLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
100 50
Default transformations for TextLink
Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page.
Table structure
Relation view
bookings
#
Name
Type
Collation
Attributes
Null
Default
Comments
Extra
Action
1
booking_id
int(11)
No
None
AUTO_INCREMENT
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
2
receipt_no
varchar(50)
utf8mb4_unicode_ci
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
3
customer_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
4
vehicle_id
int(11)
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
5
rental_type
enum('walk_in_baru', 'walk_in_extension', 'walk_in...
utf8mb4_unicode_ci
No
walk_in_baru
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
6
start_date
date
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
7
time_out
time
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
8
expected_end_date
date
No
None
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
9
expected_end_time
time
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
10
duration_unit
enum('day', 'hour')
utf8mb4_unicode_ci
Yes
day
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
11
with_driver
tinyint(1)
No
0
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
12
driver_cost
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
13
rental_duration
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
14
actual_return_date
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
15
actual_return_time
time
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
16
rental_days
int(11)
No
1
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
17
daily_rate
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
18
hourly_rate
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
19
insurance
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
20
discount_amount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
21
extra_charges
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
22
early_return_discount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
23
rental_refund_amount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
24
rental_refund_status
enum('none', 'pending', 'refunded')
utf8mb4_unicode_ci
Yes
none
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
25
rental_refund_date
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
26
rental_refund_proof
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
27
extra_charges_reason
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
28
damage_charge
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
29
damage_notes
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
30
deposit
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
31
deposit_type
enum('credit_card', 'bank_transfer', 'cash')
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
32
deposit_ref
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
33
deposit_proof
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
34
deposit_status
enum('received', 'not_received', 'refunded')
utf8mb4_unicode_ci
No
not_received
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
35
deposit_refund_amount
decimal(10,2)
Yes
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
36
deposit_refund_date
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
37
deposit_refund_proof
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
38
rental_payment_type
enum('credit_card', 'bank_transfer', 'cash')
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
39
rental_payment_ref
varchar(100)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
40
rental_payment_proof
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
41
payment_status
enum('paid', 'unpaid', 'partial')
utf8mb4_unicode_ci
No
unpaid
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
42
amount_paid
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
43
balance_due
decimal(10,2)
No
0.00
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
44
date_paid
date
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
45
booking_status
enum('active', 'completed', 'cancelled', 'extended...
utf8mb4_unicode_ci
No
active
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
46
team
varchar(50)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
47
remarks
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
48
cancellation_reason
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
49
rejection_reason
text
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
50
created_by
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
51
created_at
datetime
No
current_timestamp()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
52
updated_at
datetime
No
current_timestamp()
ON UPDATE CURRENT_TIMESTAMP()
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
53
pickup_mileage
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
54
pickup_mileage_image
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
55
return_mileage
int(11)
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
56
return_mileage_image
varchar(255)
utf8mb4_unicode_ci
Yes
NULL
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
57
sst_type
varchar(10)
utf8mb4_unicode_ci
No
none
Change
Drop
More
Primary
Unique
Index
Spatial
Fulltext
Distinct values
Add to central columns
Check all
With selected:
Browse
Change
Drop
Primary
Unique
Index
Spatial
Fulltext
Add to central columns
Remove from central columns
Move columns
Move the columns by dragging them up and down.
Preview SQL
Loading…
Error
Print
Propose table structure
Track table
Move columns
Normalize
Add
column(s)
at beginning of table
after booking_id
after receipt_no
after customer_id
after vehicle_id
after rental_type
after start_date
after time_out
after expected_end_date
after expected_end_time
after duration_unit
after with_driver
after driver_cost
after rental_duration
after actual_return_date
after actual_return_time
after rental_days
after daily_rate
after hourly_rate
after insurance
after discount_amount
after extra_charges
after early_return_discount
after rental_refund_amount
after rental_refund_status
after rental_refund_date
after rental_refund_proof
after extra_charges_reason
after damage_charge
after damage_notes
after deposit
after deposit_type
after deposit_ref
after deposit_proof
after deposit_status
after deposit_refund_amount
after deposit_refund_date
after deposit_refund_proof
after rental_payment_type
after rental_payment_ref
after rental_payment_proof
after payment_status
after amount_paid
after balance_due
after date_paid
after booking_status
after team
after remarks
after cancellation_reason
after rejection_reason
after created_by
after created_at
after updated_at
after pickup_mileage
after pickup_mileage_image
after return_mileage
after return_mileage_image
after sst_type
Indexes
Loading
Action
Keyname
Type
Unique
Packed
Column
Cardinality
Collation
Null
Comment
Edit
Rename
Drop
PRIMARY
BTREE
Yes
No
booking_id
0
A
No
Edit
Rename
Drop
receipt_no
BTREE
Yes
No
receipt_no
0
A
No
Edit
Rename
Drop
idx_bookings_status
BTREE
No
No
booking_status
0
A
No
Edit
Rename
Drop
idx_bookings_receipt
BTREE
No
No
receipt_no
0
A
No
Edit
Rename
Drop
idx_bookings_dates
BTREE
No
No
start_date
0
A
No
expected_end_date
0
A
No
Edit
Rename
Drop
idx_bookings_customer
BTREE
No
No
customer_id
0
A
No
Edit
Rename
Drop
idx_bookings_vehicle
BTREE
No
No
vehicle_id
0
A
No
Create an index on
columns
Loading
Preview SQL
Loading…
Partitions
No partitioning defined!
Information
Space usage
Data
16.0
KiB
Index
96.0
KiB
Overhead
0
B
Effective
112.0
KiB
Total
112.0
KiB
Optimize table
Row statistics
Format
dynamic
Collation
utf8mb4_unicode_ci
Next autoindex
3
Creation
Jul 30, 2026 at 08:22 AM
Last update
Jul 31, 2026 at 09:45 AM
Last check
Jul 31, 2026 at 09:45 AM