v1.5.12 Added the last things to the preview function, its all working now

This commit is contained in:
2021-04-19 14:42:03 +02:00
parent 493a8aeb34
commit 19fdb63ad2
10 changed files with 73 additions and 19 deletions
@@ -11,11 +11,13 @@ class RemoveNews extends Migration
*
* @return void
*/
/*
public function up()
{
\Illuminate\Support\Facades\DB::unprepared("CREATE OR REPLACE EVENT `remove_news` ON SCHEDULE EVERY 1 HOUR STARTS '2000-01-01 00:00:00' ON COMPLETION NOT PRESERVE ENABLE DO
DELETE FROM news WHERE news_expiration_date < NOW();");
}
*/
/**
* Reverse the migrations.