Commit Graph
112945 Commits
Author SHA1 Message Date
liugang 18dded17a4 * [misc] Add NOT NULL constraint to type field in zt_ai_miniprogramfield table. 2025-12-05 09:29:28 +08:00
liugang 5b7bfd1c89 * [misc] Change story field data type from char to int unsigned in zt_design table. 2025-12-05 09:29:28 +08:00
liugang dc7f015fce * [misc] Remove extra spaces. 2025-12-05 09:29:28 +08:00
liugang 8f448e4e5b * [misc] Standardize numeric default values and formatting in database schema. 2025-12-05 09:29:28 +08:00
liugang b495ddfe35 * [misc] Optimize char and varchar field data types in database schema. 2025-12-05 09:29:27 +08:00
liugang f9e09742ca * [misc] Change numeric string defaults to empty strings in database schema. 2025-12-05 09:29:27 +08:00
liugang 6312ecc3a7 * [misc] Fix database schema field definitions and default values.
- Fix varchar fields with incorrect numeric default values (0 → '')
- Standardize field spacing and remove extra whitespace
- Fix typo: NOT NULl → NOT NULL
- Convert NULL fields to NOT NULL with appropriate defaults
- Change smallint to tinyint for percent field in approvalnode table
- Standardize time field definitions (NULL → DEFAULT NULL)
- Fix icon field DEFAULT value syntax in ai_assistant table
2025-12-05 09:29:25 +08:00
liugang bff14b36e0 * [misc] Remove useless zt_session table from database schema. 2025-12-05 09:28:57 +08:00
liugang 531eb27ab5 * [misc] Replace NULL with DEFAULT NULL for explicit default values. 2025-12-05 09:28:26 +08:00
liugang 25b23def55 * [misc] Standardize SQL data type keywords to lowercase in database schema. 2025-12-05 09:28:26 +08:00
liugang c008909cc3 * [misc] Move deleted field to last position before PRIMARY KEY in database tables. 2025-12-05 09:28:26 +08:00
liugang f18fd68bc2 * [misc] Standardize color field data types to char(7) in database schema. 2025-12-05 09:28:26 +08:00
liugang 1086696cc8 * [misc] Standardize formatting and spacing in SQL table definitions. 2025-12-05 09:28:26 +08:00
liugang 6ae8df9c3d * [misc] Replace \t with spaces in database schema. 2025-12-05 09:28:24 +08:00
liugang 21c61c3e26 * [misc] Change float field data types to decimal for improved precision in database schema. 2025-12-05 09:26:30 +08:00
liugang 61a8e84ae9 * [misc] Add missing primary keys and auto-increment ID columns to database tables. 2025-12-05 09:26:30 +08:00
liugang 984888061c * [misc] Change char field data types to varchar in database schema. 2025-12-05 09:26:30 +08:00
liugang 0d07643a43 * [misc] Change version fields default value from 0 to 1 in database schema. 2025-12-05 09:26:30 +08:00
liugang cd0c95051e * [misc] Change time field data types from smallint unsigned zerofill to char(4). 2025-12-05 09:26:30 +08:00
liugang 627350e1f2 * [misc] Add DEFAULT 0 to NOT NULL integer fields without defaults in database schema
- Add DEFAULT 0 to int and smallint fields that are NOT NULL but missing default values
- Standardize foreign key fields and numeric columns to have explicit default values
- Fix inconsistent SQL syntax by adding missing DEFAULT clauses
- Ensure all NOT NULL integer columns have proper default values for better data integrity
2025-12-05 09:26:30 +08:00
liugang cf43d50105 * [misc] Standardize SQL keywords to uppercase in database schema
- Change 'auto_increment' to 'AUTO_INCREMENT' for consistency
- Change 'default' to 'DEFAULT' for field definitions
- Change 'not' to 'NOT' in field constraints
- Ensure consistent capitalization of SQL keywords throughout zentao.sql

This continues the database schema standardization effort to improve
code readability and maintain consistent SQL formatting standards.
2025-12-05 09:26:30 +08:00
liugang 25fc29d790 * [misc] Fix NULL value typo in INSERT statements. 2025-12-05 09:26:30 +08:00
liugang bbc80a24dc * [misc] Replace NULL with DEFAULT NULL for explicit default values. 2025-12-05 09:26:30 +08:00
liugang d052998854 * [misc] Remove quotes from integer default values. 2025-12-05 09:26:30 +08:00
liugang 36e5e96bd2 * [misc] Change integer field data types to unsigned. 2025-12-05 09:26:30 +08:00
liugang d445185489 * [misc] Change enum field data types to char. 2025-12-05 09:26:30 +08:00
liugang 3cfbb42c8c * [misc] Change enum field data types to varchar. 2025-12-05 09:26:30 +08:00
liugang 2ce82e7552 * [misc] Change enum field data types to tinyint unsigned. 2025-12-05 09:26:30 +08:00
liugang 946a159f55 * [misc] Change the deleted field's data type from enum to tinyint. 2025-12-05 09:26:29 +08:00
liugang 7700ccb320 * [misc] Change the UNSIGNED keyword to lowercase. 2025-12-05 09:26:29 +08:00
liugang 3e74c1caf6 * [misc] Remove display width for integer types. 2025-12-05 09:26:29 +08:00
liugang c94db457de * [misc] Change the data type from MEDIUMINT to int. 2025-12-05 09:26:29 +08:00
liugang e7c52ae160 * [misc] Change the data type from mediumint to int. 2025-12-05 09:26:29 +08:00
刘刚 ca582cf81e Merge branch release/21.7.8 of zentao/zentaopms (#12661) 2025-12-05 09:16:28 +08:00
liugang 0bf3f611a6 * [misc] Remove useless methods and failed scripts generated by Claude Code. 2025-12-05 09:15:24 +08:00
刘刚 cde1bba518 Merge branch release/21.7.8 of zentao/zentaopms (#12655) 2025-12-05 08:36:27 +08:00
刘刚 9c02c424ac Merge branch release/21.7.8 of zentao/zentaopms (#12646) 2025-12-05 08:36:06 +08:00
sunhao 38e4226872 * [refac] remove debug code. 2025-12-04 16:35:17 +08:00
刘刚 cc52c565d2 Merge branch release/21.7.8 of zentao/zentaopms (#12650) 2025-12-04 15:32:44 +08:00
sunhao d897afa04e * [misc] update zui3 lib. 2025-12-04 15:27:40 +08:00
刘刚 96bd55896f Merge branch release/21.7.8 of zentao/zentaopms (#12647) 2025-12-04 14:08:09 +08:00
liugang 3451ebfed6 * [misc] Remove duplicate methods, useless methods and failed scripts generated by Claude Code. 2025-12-04 14:06:37 +08:00
wangyidong 31d35dc1f6 * [refac feedback #10845] Check finishedDate value required. 2025-12-04 13:29:12 +08:00
wangyidong 0686527d53 * [refac] Adjust for show xmind import. 2025-12-04 13:11:53 +08:00
刘刚 d632c1297d Merge branch release/21.7.8 of zentao/zentaopms (#12644) 2025-12-04 11:14:13 +08:00
liugang bf6698773f - [misc] Remove useless methods or failed scripts generated by Claude Code. 2025-12-04 11:13:04 +08:00
李阳 b6c9d48a6c Merge branch release/21.7.8 of zentao/zentaopms (#12640) 2025-12-04 09:36:02 +08:00
lijie 5aaef4c0b2 [uitest, 1h] add data of zendata. 2025-12-04 09:32:56 +08:00
刘刚 0ec8d689e5 Merge branch release/21.7.8 of zentao/zentaopms (#12639) 2025-12-04 09:29:26 +08:00
sunhao 28726d42c4 * [misc] add dynamic max-height CSS property to editor component. 2025-12-04 09:04:22 +08:00