File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ public function up()
1717 $ db = $ this ->get ('db ' );
1818
1919 $ query = $ db ->query ('
20- ALTER TABLE `sql_matches` CHANGE COLUMN `steam64` `steam` varchar(100);
21- ALTER TABLE `players` CHANGE COLUMN `steam64` `steam` varchar(100);
20+ ALTER TABLE `sql_matches` CHANGE COLUMN `steam64` `steam` varchar(100) NOT NULL ;
21+ ALTER TABLE `players` CHANGE COLUMN `steam64` `steam` varchar(100) NOT NULL ;
2222 ' );
2323
2424 return $ query ->execute ();
@@ -35,8 +35,8 @@ public function down()
3535 $ db = $ this ->get ('db ' );
3636
3737 $ query = $ db ->query ('
38- ALTER TABLE `sql_matches` CHANGE COLUMN `steam` `steam64` varchar(100);
39- ALTER TABLE `players` CHANGE COLUMN `steam` `steam64` varchar(100);
38+ ALTER TABLE `sql_matches` CHANGE COLUMN `steam` `steam64` varchar(100) NOT NULL ;
39+ ALTER TABLE `players` CHANGE COLUMN `steam` `steam64` varchar(100) NOT NULL ;
4040 ' );
4141
4242 return $ query ->execute ();
You can’t perform that action at this time.
0 commit comments