diff --git a/migrations/mysql/20221109092556_torrust_user_date_registered_allow_null.sql b/migrations/mysql/20221109092556_torrust_user_date_registered_allow_null.sql index 9f936f8a..92949e96 100644 --- a/migrations/mysql/20221109092556_torrust_user_date_registered_allow_null.sql +++ b/migrations/mysql/20221109092556_torrust_user_date_registered_allow_null.sql @@ -1 +1 @@ -ALTER TABLE torrust_users CHANGE date_registered date_registered DATETIME NOT NULL \ No newline at end of file +ALTER TABLE torrust_users CHANGE date_registered date_registered DATETIME DEFAULT NULL \ No newline at end of file