Explorar el Código

fix: safe delete sql

tokumeikoi hace 3 años
padre
commit
078dfbf339
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      database/update.sql

+ 1 - 1
database/update.sql

@@ -413,7 +413,7 @@ ALTER TABLE `v2_payment`
     ADD `uuid` char(32) NOT NULL AFTER `id`;
 
 ALTER TABLE `v2_user`
-    ADD `deleted_at` int(11) NOT NULL AFTER `updated_at`;
+    ADD `deleted_at` int(11) NULL AFTER `updated_at`;
 
 ALTER TABLE `v2_user`
     ADD UNIQUE `email_deleted_at` (`email`, `deleted_at`),