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 :
Table structure
Settings for the table structure (list of columns).
Table structure
Documentation Whether the table structure actions should be hidden. Restore default value
Documentation Whether column comments should be shown in table structure view Restore default value
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value

tb_empresas_facturas

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(50) utf8mb4_general_ci Yes NULL Folio interno Change Change Drop Drop
3 int(11) No None FK tb_sponsors Change Change Drop Drop
4 varchar(50) utf8mb4_general_ci Yes NULL UUID del CFDI cuando se timbre Change Change Drop Drop
5 varchar(10) utf8mb4_general_ci Yes NULL Change Change Drop Drop
6 varchar(50) utf8mb4_general_ci Yes NULL Change Change Drop Drop
7 date Yes NULL Fecha de emisión Change Change Drop Drop
8 date Yes NULL Fecha de envío al cliente Change Change Drop Drop
9 date Yes NULL Cliente confirmó recepción Change Change Drop Drop
10 date Yes NULL Fecha en que prometen pagar Change Change Drop Drop
11 date Yes NULL Fecha límite de pago Change Change Drop Drop
12 date Yes NULL Fecha en que pagaron realmente Change Change Drop Drop
13 decimal(12,2) Yes 0.00 Change Change Drop Drop
14 decimal(12,2) Yes 0.00 Change Change Drop Drop
15 decimal(12,2) Yes 0.00 Change Change Drop Drop
16 decimal(12,2) Yes 0.00 Para pagos parciales Change Change Drop Drop
17 varchar(20) utf8mb4_general_ci Yes NULL Change Change Drop Drop
18 varchar(255) utf8mb4_general_ci Yes NULL Change Change Drop Drop
19 varchar(10) utf8mb4_general_ci Yes NULL G03, P01, etc. Change Change Drop Drop
20 varchar(5) utf8mb4_general_ci Yes NULL PUE=Pago en una exhibición, PPD=Pago en parcialidades Change Change Drop Drop
21 varchar(5) utf8mb4_general_ci Yes NULL 03=Transferencia, 01=Efectivo, etc. Change Change Drop Drop
22 enum('emitida', 'enviada', 'confirmada', 'programa... utf8mb4_general_ci Yes emitida Change Change Drop Drop
23 varchar(255) utf8mb4_general_ci Yes NULL Ruta al XML del CFDI Change Change Drop Drop
24 varchar(255) utf8mb4_general_ci Yes NULL Ruta al PDF de la factura Change Change Drop Drop
25 text utf8mb4_general_ci Yes NULL Change Change Drop Drop
26 datetime Yes current_timestamp() Change Change Drop Drop
27 int(11) Yes NULL Change Change Drop Drop
28 datetime Yes NULL ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
29 int(11) Yes NULL Change Change Drop Drop
30 tinyint(1) Yes 1 Change Change Drop Drop
With selected: With selected:

Add column  Add column(s)  
Indexes Documentation
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Edit Rename Rename Drop Drop PRIMARY BTREE Yes No id 0 A No
Edit Edit Rename Rename Drop Drop idx_empresa BTREE No No id_empresa 0 A No
Edit Edit Rename Rename Drop Drop idx_estatus BTREE No No estatus 0 A Yes
Edit Edit Rename Rename Drop Drop idx_vencimiento BTREE No No fecha_vencimiento 0 A Yes
Edit Edit Rename Rename Drop Drop idx_programada BTREE No No fecha_programada_pago 0 A Yes
Edit Edit Rename Rename Drop Drop idx_uuid BTREE No No uuid 0 A Yes
Edit Edit Rename Rename Drop Drop idx_enabled BTREE No No enabled 0 A Yes
Create an index on columns
Partitions Documentation
Information

Table comments: Facturas emitidas a empresas

Space usage
Data 16.0 KiB
Index 96.0 KiB
Overhead 0 B
Effective 112.0 KiB
Total 112.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_general_ci
Next autoindex 1
Creation Jan 24, 2026 at 11:16 AM
Last update Jan 27, 2026 at 09:40 AM
Last check Jan 27, 2026 at 09:40 AM