| | |
| | | [2023-07-04 17:28:19] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | GET /api/salesLeads/list | uid: | <nil> |
| | | [2023-07-04 17:28:19] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.002208, "rows": 1, "sql": "SELECT * FROM `follow_records` WHERE `follow_records`.`sales_leads_id` IN (1,3) AND `follow_records`.`deleted_at` IS NULL"} |
| | | [2023-07-04 17:28:19] [debug] [aps_crm/model.(*SalesLeadsSearch).FindAll:107] trace {"elapsed": 0.0039781, "rows": 2, "sql": "SELECT * FROM `sales_leads` WHERE `sales_leads`.`deleted_at` IS NULL"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010003, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0009982, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0009993, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010075, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010491, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010376, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015835, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000511, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005103, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005077, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005088, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010756, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0145244, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0015203, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005086, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0030001, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005087, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005396, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005077, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005408, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005134, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005106, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000511, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005109, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008221, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005117, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005075, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005116, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008449, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005099, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025283, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005123, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005141, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005132, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0011033, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015479, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005093, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005086, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005137, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005093, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005086, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005102, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005101, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005101, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007773, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005087, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005117, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005545, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005117, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010386, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005088, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.00252, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005121, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005098, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005273, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0001509, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.001576, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007081, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005087, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025513, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005098, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005095, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005117, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005127, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006315, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005122, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025227, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000512, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005101, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005093, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007162, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025237, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0002052, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005075, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005127, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005131, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005106, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006841, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.001522, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005105, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005083, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005109, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007703, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010935, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005467, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005416, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005444, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005403, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005429, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010819, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010917, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0012968, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0001573, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005425, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005447, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005356, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005534, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005381, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005482, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000541, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0011002, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010931, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005093, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005425, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005101, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005551, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005116, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005101, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005098, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005095, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008226, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005134, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005147, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005136, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005108, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005118, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006429, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000898, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0015444, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0010503, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005102, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005121, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005111, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CreateTable.func1:281] trace {"elapsed": 0.0083697, "rows": 0, "sql": "CREATE TABLE `sale_change` (`id` bigint AUTO_INCREMENT,`name` varchar(255) COMMENT '公司名称',`number` varchar(255) COMMENT '销售线索编号',`contact_id` int(11) COMMENT '联系人ID',`client_id` int(11) COMMENT '客户ID',`sales_sources_id` int(11) COMMENT '商机来源ID',`sale_type_id` int(11) COMMENT '商机类型ID',`sale_stage_id` int(11) COMMENT '商机阶段ID',`member_id` int(11) COMMENT '销售负责人ID',`regular_customers_id` int(11) COMMENT '常客ID',`competitors` varchar(255) COMMENT '竞争对手',`possibilities` int(11) COMMENT '可能性',`budget` decimal(10,2) COMMENT '预算',`projected_amount` decimal(10,2) COMMENT '预计金额',`currency` int(11) COMMENT '货币类型',`expected_time` datetime COMMENT '预计成交时间',`status_id` int(11) COMMENT '状态ID',`pain_points` text COMMENT '痛点',`whether_established` text COMMENT '是否成立',`capital_budget` text COMMENT '资金预算',`key_maker` text COMMENT '关键人',`key_factors` text COMMENT '关键因素',`process` text COMMENT '决策流程',`solutions` text COMMENT '竞争对手解决方案',`advantages` text COMMENT '竞争优势',`disadvantages` text COMMENT '竞争劣势',`opportunities` text COMMENT '竞争机会',`threats` text COMMENT '竞争威胁',`country_id` bigint COMMENT '国家ID',`province_id` bigint COMMENT '省份ID',`city_id` bigint COMMENT '城市ID',`region_id` bigint COMMENT '区域ID',`created_at` datetime(3) NULL,`updated_at` datetime(3) NULL,`deleted_at` datetime(3) NULL,PRIMARY KEY (`id`),INDEX `idx_sale_change_deleted_at` (`deleted_at`))"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005434, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0016864, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 13:52:06] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010432, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005319, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010328, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0012254, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006605, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0013522, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0007189, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000532, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006644, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005061, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005277, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005329, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005111, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005315, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005829, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005102, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005101, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000788, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005347, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0033319, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005279, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005238, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005568, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005632, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005086, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005614, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005066, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005178, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005248, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.00051, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.00051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005098, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009004, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0023039, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000525, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005197, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005834, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022024, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005127, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000523, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005045, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006971, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010354, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021009, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005066, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005121, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006218, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005269, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0027376, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005381, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005064, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005062, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005046, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009813, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005784, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030398, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005502, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005041, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005856, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005038, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005049, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005047, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005114, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000523, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005093, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010352, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000052, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005059, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005964, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005087, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005531, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005055, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005044, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005047, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005042, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0007743, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009022, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000542, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005308, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005059, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000516, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0014802, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005056, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005126, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005048, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000517, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.002136, "rows": -1, "sql": "SELECT * FROM `sale_change` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0011597, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005125, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000515, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND index_name = 'idx_sale_change_deleted_at'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005171, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005517, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005127, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007696, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 13:52:52] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005123, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010911, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0016851, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0010659, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005357, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0011741, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005566, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0016608, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005289, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005656, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005294, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005138, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007849, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0020482, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005427, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005104, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005458, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005065, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005182, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005138, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005132, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005333, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005101, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005059, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005268, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009096, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010367, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021516, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005052, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0008484, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006503, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005417, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005053, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000556, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005053, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005055, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005089, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009205, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000898, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0034911, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005083, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005061, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007533, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010404, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0031528, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005089, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005091, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005078, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007592, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005365, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021471, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005055, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007918, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005517, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025126, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005056, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007137, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015134, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005657, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005062, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005068, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005066, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005057, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010794, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010389, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 13:55:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005062, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005062, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0006267, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000794, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005082, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000707, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015007, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0000826, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000741, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005096, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005663, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005387, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005405, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005315, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000611, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0007278, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005313, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005281, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005353, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005301, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005318, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005337, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005304, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000534, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005297, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005352, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006741, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005057, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010312, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000532, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030659, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005061, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000592, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005057, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005293, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.001081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005408, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0006038, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005847, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010947, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010926, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005454, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005426, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005399, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010794, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005368, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005431, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005571, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005511, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.001167, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005468, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0032703, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005323, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.001097, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005543, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0006236, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0011406, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010742, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010695, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002777, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005485, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000539, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005405, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000521, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010437, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022525, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005336, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005083, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005336, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007124, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0011159, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022868, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005047, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005052, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005047, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006611, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015115, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005096, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010481, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008166, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021781, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005083, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006189, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.001035, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022339, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005096, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005083, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006799, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005068, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022143, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005088, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010375, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002187, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005083, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005123, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000654, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005037, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 13:57:26] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0006253, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 13:57:26] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0005059, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 13:57:26] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0013209, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 13:57:26] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0038623, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 13:57:26] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 13:58:48] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010029, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0019632, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0008827, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0009975, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0009977, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010002, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.003, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0009966, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0010007, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0009999, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0009992, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010002, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009988, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.001002, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.001001, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010012, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0009999, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010005, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0010008, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0009992, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0018988, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010124, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0009962, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010014, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010004, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0009998, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0020001, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006714, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005067, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005342, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005344, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005246, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.00054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000536, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008008, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005091, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030436, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005421, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005093, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005091, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005095, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007278, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005342, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022758, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010503, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005065, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005056, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005955, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005061, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005078, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000853, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005057, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0028909, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005271, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005408, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005428, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030477, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005087, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005101, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005075, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007226, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005061, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005102, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005086, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005055, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000624, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022587, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000543, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005129, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005077, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008966, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010576, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0031045, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0012073, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005363, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022226, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005084, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008132, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005055, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022178, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005379, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0011094, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005095, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000509, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005078, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007363, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005335, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005332, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005082, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000729, "rows": -1, "sql": "SELECT * FROM `sale_change` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015466, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005437, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND index_name = 'idx_sale_change_deleted_at'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005338, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000771, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005269, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000535, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005083, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005059, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005605, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005304, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 13:58:56] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0005322, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 13:58:56] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.001055, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.000534, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 13:58:56] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0015964, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 13:58:56] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0037629, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 13:58:56] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:00:50] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个机会 ClientId:0 Number:POT206 ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:12 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:03:00] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010116, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0009931, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.00096, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009978, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.001001, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000999, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.001021, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009959, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010414, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.001002, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0009988, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010033, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0009962, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.001003, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010037, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005398, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005094, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007157, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005537, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005099, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005088, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000745, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005088, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022292, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005087, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005059, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006521, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005077, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006241, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005129, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005115, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005093, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006494, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005879, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021972, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005104, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005085, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008421, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005353, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021835, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005124, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005102, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006221, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022047, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005321, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000636, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005116, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005059, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005313, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006488, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005115, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0024275, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005075, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005504, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007192, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005154, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005106, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005112, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005105, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006727, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010501, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022697, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006904, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0023215, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005381, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010771, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0023056, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005093, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005112, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006053, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000533, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022472, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005375, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007188, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005105, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005084, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005327, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010697, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009653, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005367, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005338, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005113, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005096, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009786, "rows": -1, "sql": "SELECT * FROM `sale_change` LIMIT 1"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.001545, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:03] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005064, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005089, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND index_name = 'idx_sale_change_deleted_at'"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005378, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005052, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005067, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000827, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005341, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005099, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005066, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005096, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005088, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000887, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005086, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:03:04] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0005054, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 14:03:04] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0006697, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0005526, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 14:03:04] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0006173, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 14:03:04] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0028082, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 14:03:04] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:03:15] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个机会 ClientId:0 Number:POT206 ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:12 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:03:19] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个机会 ClientId:0 Number:POT206 ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:12 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:03:33] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个机会 ClientId:0 Number:POT206 ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:12 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:123123123123 CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:03:57] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:0 MemberId:0 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:04:27] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005299, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0017234, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0010664, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005067, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0019548, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0012536, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005242, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0000572, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005044, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0008721, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005537, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005416, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0010794, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005112, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005901, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005655, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005066, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005062, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005044, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007533, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005788, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025222, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005657, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005078, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000533, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006206, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005371, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005089, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005316, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005088, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005607, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000617, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005637, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005376, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005067, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000585, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005562, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006828, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.00056, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002565, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000547, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005086, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005386, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000662, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005898, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0023196, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005211, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005077, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005315, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000769, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005907, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002227, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005449, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005142, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005472, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007635, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0006468, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022167, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005116, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005153, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005139, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006433, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005413, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005462, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005124, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005145, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005166, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005184, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005127, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009107, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005145, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022197, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005118, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005105, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005141, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005449, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000755, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005128, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022866, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005134, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000514, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0015571, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005111, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010459, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005119, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030646, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005095, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005133, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005088, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000932, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005166, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002411, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005505, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005144, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005082, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006638, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005113, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0001376, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000669, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005152, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005098, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005044, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010977, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005738, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005519, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005155, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.00051, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005435, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0012617, "rows": -1, "sql": "SELECT * FROM `sale_change` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0019, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005558, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0011216, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND index_name = 'idx_sale_change_deleted_at'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005089, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000526, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005086, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000542, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0045146, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005366, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0025221, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.00051, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005065, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000509, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005094, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008215, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:04:30] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0007589, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 14:04:30] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0007799, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 14:04:30] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0013168, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 14:04:30] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0039994, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 14:04:30] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:10:23] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:0 MemberId:0 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:10:23] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000903, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0012241, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0011601, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005364, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005045, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006663, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0016107, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005309, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0008164, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005049, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006697, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005326, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005043, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005083, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006956, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005969, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0011638, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005183, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006989, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005313, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005045, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005051, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007479, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005317, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0032513, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005064, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006005, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005468, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005988, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005096, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005062, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005052, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006454, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005559, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005094, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005102, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0007679, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005059, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005041, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000688, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015105, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005344, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005044, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005114, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006549, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0015359, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005605, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005097, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007683, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005521, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.003316, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.001096, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005116, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006063, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010652, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025146, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005322, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0007382, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008678, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025159, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0006286, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005049, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006658, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005067, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:31] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005221, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005132, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007704, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005325, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030505, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006466, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005087, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.00322, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005438, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005105, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005344, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007212, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0008513, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002238, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005323, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005104, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005091, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005101, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007328, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025134, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005367, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005085, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007103, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0012833, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005357, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005059, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005341, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005055, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006883, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000507, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000515, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.00051, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000509, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005076, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008789, "rows": -1, "sql": "SELECT * FROM `sale_change` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0017524, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005499, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005097, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND index_name = 'idx_sale_change_deleted_at'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006546, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005354, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005438, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005069, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0009815, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007333, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005047, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:10:32] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0005093, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 14:10:32] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0005813, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0005316, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 14:10:32] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0012229, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 14:10:32] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0039028, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 14:10:32] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:12:36] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:0 MemberId:0 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:12:36] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010294, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0009989, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0009987, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010022, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009916, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0020326, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000999, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005057, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000603, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005441, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000324, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005067, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005154, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000554, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0000645, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005086, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006095, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000556, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005145, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005066, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006704, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005902, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0032347, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005051, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005064, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006015, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010577, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005087, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005542, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005972, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005334, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000552, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005113, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005657, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005311, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005056, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005062, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006104, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005681, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022545, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005686, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005049, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005815, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010455, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022741, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005062, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005801, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010413, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022233, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0000455, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005103, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006931, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010424, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022728, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005059, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005186, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006522, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005066, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005062, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005126, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005048, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007138, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005331, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0026343, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005065, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005072, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0001259, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005064, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007475, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022612, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005065, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005048, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005049, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006843, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005055, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021689, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000508, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0015532, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006263, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005644, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022654, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005057, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005204, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0021638, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015208, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005066, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005073, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005056, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005701, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.001514, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.00055, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005055, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005046, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005061, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0013127, "rows": -1, "sql": "SELECT * FROM `sale_change` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.001557, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005048, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005059, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_change' AND index_name = 'idx_sale_change_deleted_at'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005039, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0011092, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000529, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005135, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005053, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005056, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005089, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005068, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:12:44] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0007755, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 14:12:44] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0005083, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0005078, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 14:12:44] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0011767, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 14:12:44] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0031915, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 14:12:44] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:12:47] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:0 MemberId:0 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:0 ExpectedTime:string StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:17:55] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:0 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:18:37] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:10 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:20:33] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0010331, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000538, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000644, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005107, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007683, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0012405, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0006427, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005366, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005321, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005114, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.00051, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006574, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005072, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005048, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005062, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005305, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.00055, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005152, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005097, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005373, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006201, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005364, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005147, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005272, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007757, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005078, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0032649, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0006955, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005108, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005894, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005369, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005346, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005084, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005336, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006124, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005079, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005086, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005097, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005098, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005086, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.00074, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002286, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005566, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005155, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005082, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005102, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006702, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0006323, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022233, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005085, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005339, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006813, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005314, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005523, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0007887, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005046, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006914, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005065, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0032294, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005078, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006334, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005315, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0030523, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0001822, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005085, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005095, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005059, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006698, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000535, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005046, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005803, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005081, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.00058, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005062, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0020443, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000508, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005048, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000577, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006499, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005402, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0043704, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005366, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005476, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000523, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000517, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006469, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005325, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022551, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005055, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005055, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007183, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0023315, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005281, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005087, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005352, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005309, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006182, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005497, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005329, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005121, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005068, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005485, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005329, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0016718, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015127, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005717, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005061, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0009373, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005238, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_chance' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CreateTable.func1:281] trace {"elapsed": 0.0062112, "rows": 0, "sql": "CREATE TABLE `sale_chance` (`id` bigint AUTO_INCREMENT,`name` varchar(255) COMMENT '公司名称',`number` varchar(255) COMMENT '销售线索编号',`contact_id` int(11) COMMENT '联系人ID',`client_id` int(11) COMMENT '客户ID',`sales_sources_id` int(11) COMMENT '商机来源ID',`sale_type_id` int(11) COMMENT '商机类型ID',`sale_stage_id` int(11) COMMENT '商机阶段ID',`member_id` int(11) COMMENT '销售负责人ID',`regular_customers_id` int(11) COMMENT '常客ID',`competitors` varchar(255) COMMENT '竞争对手',`possibilities` int(11) COMMENT '可能性',`budget` decimal(10,2) COMMENT '预算',`projected_amount` decimal(10,2) COMMENT '预计金额',`currency` int(11) COMMENT '货币类型',`expected_time` datetime COMMENT '预计成交时间',`status_id` int(11) COMMENT '状态ID',`pain_points` text COMMENT '痛点',`whether_established` text COMMENT '是否成立',`capital_budget` text COMMENT '资金预算',`key_maker` text COMMENT '关键人',`key_factors` text COMMENT '关键因素',`process` text COMMENT '决策流程',`solutions` text COMMENT '竞争对手解决方案',`advantages` text COMMENT '竞争优势',`disadvantages` text COMMENT '竞争劣势',`opportunities` text COMMENT '竞争机会',`threats` text COMMENT '竞争威胁',`country_id` bigint COMMENT '国家ID',`province_id` bigint COMMENT '省份ID',`city_id` bigint COMMENT '城市ID',`region_id` bigint COMMENT '区域ID',`created_at` datetime(3) NULL,`updated_at` datetime(3) NULL,`deleted_at` datetime(3) NULL,PRIMARY KEY (`id`),INDEX `idx_sale_chance_deleted_at` (`deleted_at`))"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005049, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005071, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007008, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005077, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000681, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000507, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0008434, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005107, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005155, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0000566, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010559, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005768, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:20:41] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0005396, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 14:20:41] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0006685, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0005656, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 14:20:41] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0012166, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 14:20:41] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0036422, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 14:20:41] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:20:46] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:10 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:21:21] [info] [main.shutdown:54] aps-admin exited... |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0009988, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0010306, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0009711, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010298, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0021413, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.001009, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'user' AND index_name = 'idx_user_username'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0009998, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0009984, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0009982, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0009983, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010019, "rows": -1, "sql": "SELECT * FROM `menu` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0009998, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0010046, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'menu' AND index_name = 'idx_menu_parent_id'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0, "rows": -1, "sql": "SELECT * FROM `user_menu` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010009, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'user_menu' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010047, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010407, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0, "rows": -1, "sql": "SELECT * FROM `jwt_black_list` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0009998, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'jwt_black_list' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'country' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010017, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0, "rows": -1, "sql": "SELECT * FROM `country` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0011031, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'country' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0028973, "rows": 0, "sql": "ALTER TABLE `country` MODIFY COLUMN `name` varchar(255) COMMENT '国家名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.001001, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'province' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.001002, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0010024, "rows": -1, "sql": "SELECT * FROM `province` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0009957, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'province' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010203, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005105, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'city' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007098, "rows": -1, "sql": "SELECT * FROM `city` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005339, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'city' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005423, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010456, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005063, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0007765, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005632, "rows": -1, "sql": "SELECT * FROM `enterprise_nature` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0011958, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_nature' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0024209, "rows": 0, "sql": "ALTER TABLE `enterprise_nature` MODIFY COLUMN `name` varchar(255) COMMENT '企业性质名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000504, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007222, "rows": -1, "sql": "SELECT * FROM `enterprise_scale` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005235, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'enterprise_scale' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0032372, "rows": 0, "sql": "ALTER TABLE `enterprise_scale` MODIFY COLUMN `name` varchar(255) COMMENT '企业规模名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005066, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005071, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'region' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005052, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005052, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006425, "rows": -1, "sql": "SELECT * FROM `region` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0012553, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'region' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005081, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0007068, "rows": -1, "sql": "SELECT * FROM `registered_capital` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005666, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'registered_capital' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0023642, "rows": 0, "sql": "ALTER TABLE `registered_capital` MODIFY COLUMN `name` varchar(255) COMMENT '注册资金'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005048, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000511, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'industry' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005068, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006539, "rows": -1, "sql": "SELECT * FROM `industry` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005064, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'industry' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0022393, "rows": 0, "sql": "ALTER TABLE `industry` MODIFY COLUMN `name` varchar(255) COMMENT '行业名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005088, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005051, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005069, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005049, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008099, "rows": -1, "sql": "SELECT * FROM `clients` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015115, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'clients' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005063, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.000598, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'clients' AND index_name = 'idx_clients_deleted_at'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005725, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005105, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_level' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005075, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005054, "rows": -1, "sql": "SELECT * FROM `client_level` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005065, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_level' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002463, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` varchar(255) COMMENT '客户等级名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005048, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005513, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000065, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005079, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0009479, "rows": -1, "sql": "SELECT * FROM `client_origin` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005058, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_origin' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0025455, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` varchar(255) COMMENT '客户来源名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005181, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005074, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_status' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005083, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006628, "rows": -1, "sql": "SELECT * FROM `client_status` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000562, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_status' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.002653, "rows": 0, "sql": "ALTER TABLE `client_status` MODIFY COLUMN `name` varchar(255) COMMENT '客户状态名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0008981, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000506, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'client_type' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005092, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.000506, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0006884, "rows": -1, "sql": "SELECT * FROM `client_type` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005044, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'client_type' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"elapsed": 0.0021503, "rows": 0, "sql": "ALTER TABLE `client_type` MODIFY COLUMN `name` varchar(255) COMMENT '客户类型名称'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010338, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005047, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005056, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005058, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.000621, "rows": -1, "sql": "SELECT * FROM `contacts` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.000509, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'contacts' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005044, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005038, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'contacts' AND index_name = 'idx_contacts_deleted_at'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005036, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0010714, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005044, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005076, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0010714, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0008087, "rows": -1, "sql": "SELECT * FROM `follow_records` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0005051, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.000505, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005075, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'follow_records' AND index_name = 'idx_follow_records_deleted_at'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005103, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000504, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sale_chance' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005039, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.001658, "rows": -1, "sql": "SELECT * FROM `sale_chance` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015407, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sale_chance' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0005455, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0008446, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sale_chance' AND index_name = 'idx_sale_chance_deleted_at'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.000551, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.000511, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.000505, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005044, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005993, "rows": -1, "sql": "SELECT * FROM `sales_leads` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0015548, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0.0005086, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:801] trace {"elapsed": 0.0010432, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasIndex.func1:809] trace {"elapsed": 0.0005162, "rows": -1, "sql": "SELECT count(*) FROM information_schema.statistics WHERE table_schema = 'aps_crm' AND table_name = 'sales_leads' AND index_name = 'idx_sales_leads_deleted_at'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:309] trace {"elapsed": 0.0005054, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.HasTable.func1:310] trace {"elapsed": 0.0005073, "rows": -1, "sql": "SELECT count(*) FROM information_schema.tables WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' AND table_type = 'BASE TABLE'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/migrator.Migrator.CurrentDatabase:827] trace {"elapsed": 0, "rows": -1, "sql": "SELECT DATABASE()"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.CurrentSchema:378] trace {"elapsed": 0.0005074, "rows": 1, "sql": "SELECT SCHEMA_NAME from Information_schema.SCHEMATA where SCHEMA_NAME LIKE 'aps_crm%' ORDER BY SCHEMA_NAME='aps_crm' DESC,SCHEMA_NAME limit 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:210] trace {"elapsed": 0.0005431, "rows": -1, "sql": "SELECT * FROM `sales_sources` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:232] trace {"elapsed": 0.0010434, "rows": -1, "sql": "SELECT column_name, column_default, is_nullable = 'YES', data_type, character_maximum_length, column_type, column_key, extra, column_comment, numeric_precision, numeric_scale , datetime_precision FROM information_schema.columns WHERE table_schema = 'aps_crm' AND table_name = 'sales_sources' ORDER BY ORDINAL_POSITION"} |
| | | [2023-07-06 14:21:29] [debug] [aps_crm/model.(*JwtBlacklistSearch).FindNotTotal:187] trace {"elapsed": 0.0010366, "rows": 0, "sql": "SELECT * FROM `jwt_black_list`"} |
| | | [2023-07-06 14:21:29] [debug] [aps_crm/model.(*MenuSearch).First:200] trace {"elapsed": 0.0006711, "rows": 1, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/callbacks.preload:145] trace {"elapsed": 0.0005067, "rows": 22, "sql": "SELECT * FROM `user_menu` WHERE `user_menu`.`user_id` = 'u891408251931852800'"} |
| | | [2023-07-06 14:21:29] [debug] [gorm.io/gorm/callbacks.preload:207] trace {"elapsed": 0.0013562, "rows": 22, "sql": "SELECT * FROM `menu` WHERE `menu`.`id` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22)"} |
| | | [2023-07-06 14:21:29] [debug] [aps_crm/model.(*UserSearch).First:220] trace {"elapsed": 0.0042964, "rows": 1, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"} |
| | | [2023-07-06 14:21:29] [info] [main.main:39] aps-admin start serve... |
| | | [2023-07-06 14:21:32] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:10 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:21:32] [debug] [aps_crm/model.(*SaleChangeSearch).Create:72] trace {"elapsed": 0.0025393, "rows": 1, "sql": "INSERT INTO `sale_chance` (`name`,`number`,`contact_id`,`client_id`,`sales_sources_id`,`sale_type_id`,`sale_stage_id`,`member_id`,`regular_customers_id`,`competitors`,`possibilities`,`budget`,`projected_amount`,`currency`,`expected_time`,`status_id`,`pain_points`,`whether_established`,`capital_budget`,`key_maker`,`key_factors`,`process`,`solutions`,`advantages`,`disadvantages`,`opportunities`,`threats`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这是一个销售机会','string',0,0,0,0,123,110,0,'string',0,0.000000,10.000000,'1','2023-06-28 21:40:50',0,'string','string','string','string','string','string','string','string','string','string','string',0,0,0,0,'2023-07-06 14:21:32.74','2023-07-06 14:21:32.74',NULL)"} |
| | | [2023-07-06 14:22:45] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | GET /api/saleChance/list | uid: | <nil> |
| | | [2023-07-06 14:22:45] [debug] [aps_crm/model.(*SaleChangeSearch).FindAll:96] trace {"elapsed": 0.0012012, "rows": 1, "sql": "SELECT * FROM `sale_chance` WHERE `sale_chance`.`deleted_at` IS NULL"} |
| | | [2023-07-06 14:30:10] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:10 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:30:10] [debug] [aps_crm/model.(*SaleChangeSearch).Create:72] trace {"elapsed": 0.0043678, "rows": 1, "sql": "INSERT INTO `sale_chance` (`name`,`number`,`contact_id`,`client_id`,`sales_sources_id`,`sale_type_id`,`sale_stage_id`,`member_id`,`regular_customers_id`,`competitors`,`possibilities`,`budget`,`projected_amount`,`currency`,`expected_time`,`status_id`,`pain_points`,`whether_established`,`capital_budget`,`key_maker`,`key_factors`,`process`,`solutions`,`advantages`,`disadvantages`,`opportunities`,`threats`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这是一个销售机会','string',0,0,0,0,123,110,0,'string',0,0.000000,10.000000,'1','2023-06-28 21:40:50',0,'string','string','string','string','string','string','string','string','string','string','string',0,0,0,0,'2023-07-06 14:30:10.214','2023-07-06 14:30:10.214',NULL)"} |
| | | [2023-07-06 14:30:21] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | POST /api/saleChance/add | uid: | &{SaleChance:{Name:这是一个销售机会 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:10 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:30:21] [debug] [aps_crm/model.(*SaleChangeSearch).Create:72] trace {"elapsed": 0.0044058, "rows": 1, "sql": "INSERT INTO `sale_chance` (`name`,`number`,`contact_id`,`client_id`,`sales_sources_id`,`sale_type_id`,`sale_stage_id`,`member_id`,`regular_customers_id`,`competitors`,`possibilities`,`budget`,`projected_amount`,`currency`,`expected_time`,`status_id`,`pain_points`,`whether_established`,`capital_budget`,`key_maker`,`key_factors`,`process`,`solutions`,`advantages`,`disadvantages`,`opportunities`,`threats`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这是一个销售机会','string',0,0,0,0,123,110,0,'string',0,0.000000,10.000000,'1','2023-06-28 21:40:50',0,'string','string','string','string','string','string','string','string','string','string','string',0,0,0,0,'2023-07-06 14:30:21.678','2023-07-06 14:30:21.678',NULL)"} |
| | | [2023-07-06 14:32:37] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | PUT /api/saleChance/update | uid: | &{Id:2 SaleChance:{Name:这是一个销售机会草草草 ClientId:0 Number:string ContactId:0 SalesSourcesId:0 SaleTypeId:0 SaleStageId:123 MemberId:110 RegularCustomersId:0 Competitors:string Possibilities:0 Budget:0 ProjectedAmount:10 Currency:1 ExpectedTime:2023-06-28 13:40:50 StatusId:0 PainPoints:string WhetherEstablished:string CapitalBudget:string KeyMaker:string KeyFactors:string Process:string Solutions:string Advantages:string Disadvantages:string Opportunities:string Threats:string Address:{CountryId:0 ProvinceId:0 CityId:0 RegionId:0}}} |
| | | [2023-07-06 14:32:37] [debug] [aps_crm/model.(*SaleChangeSearch).Update:78] trace {"elapsed": 0.0043741, "rows": 1, "sql": "UPDATE `sale_chance` SET `id`=2,`name`='这是一个销售机会草草草',`number`='string',`sale_stage_id`=123,`member_id`=110,`competitors`='string',`projected_amount`=10.000000,`currency`='1',`expected_time`='2023-06-28 21:40:50',`pain_points`='string',`whether_established`='string',`capital_budget`='string',`key_maker`='string',`key_factors`='string',`process`='string',`solutions`='string',`advantages`='string',`disadvantages`='string',`opportunities`='string',`threats`='string',`updated_at`='2023-07-06 14:32:37.378' WHERE id = 2 AND `sale_chance`.`deleted_at` IS NULL"} |
| | | [2023-07-06 14:32:43] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | GET /api/saleChance/list | uid: | <nil> |
| | | [2023-07-06 14:32:43] [debug] [aps_crm/model.(*SaleChangeSearch).FindAll:96] trace {"elapsed": 0.0024045, "rows": 3, "sql": "SELECT * FROM `sale_chance` WHERE `sale_chance`.`deleted_at` IS NULL"} |
| | | [2023-07-06 14:32:54] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | DELETE /api/saleChance/delete/2 | uid: | <nil> |
| | | [2023-07-06 14:32:54] [debug] [aps_crm/model.(*SaleChangeSearch).Find:90] trace {"elapsed": 0.0013437, "rows": 1, "sql": "SELECT * FROM `sale_chance` WHERE id = 2 AND `sale_chance`.`deleted_at` IS NULL ORDER BY `sale_chance`.`id` LIMIT 1"} |
| | | [2023-07-06 14:32:54] [debug] [aps_crm/model.(*SaleChangeSearch).Delete:84] trace {"elapsed": 0.002337, "rows": 1, "sql": "UPDATE `sale_chance` SET `deleted_at`='2023-07-06 14:32:54.657' WHERE id = 2 AND `sale_chance`.`deleted_at` IS NULL"} |
| | | [2023-07-06 14:32:57] [info] [aps_crm/pkg/contextx.NewContext.func1:38] 192.168.20.118 | GET /api/saleChance/list | uid: | <nil> |
| | | [2023-07-06 14:32:57] [debug] [aps_crm/model.(*SaleChangeSearch).FindAll:96] trace {"elapsed": 0.00058, "rows": 2, "sql": "SELECT * FROM `sale_chance` WHERE `sale_chance`.`deleted_at` IS NULL"} |