避免数据库表中的列名与某些数据库关键字冲突

This commit is contained in:
imhao183
2020-07-09 16:48:45 +08:00
parent 8604f4edf3
commit 68a968a94c
3 changed files with 8 additions and 4 deletions
+2
View File
@@ -0,0 +1,2 @@
alter table `t_settings` change column `value` `_value` varchar(64) NOT NULL;
alter table `t_settings` change column `desc` `_desc` varchar(64) NOT NULL;
+2
View File
@@ -0,0 +1,2 @@
alter table `t_settings` change column `value` `_value` varchar(64) NOT NULL;
alter table `t_settings` change column `desc` `_desc` varchar(64) NOT NULL;