Fakultas Ilmu Komputer UI

Commit d7f87789 authored by Muhammad Indra Ramadhan's avatar Muhammad Indra Ramadhan
Browse files

Delete DB in postgre

parent b1046a47
......@@ -127,7 +127,6 @@ class AdminerDatabaseController extends Controller
{
$database = AdminerDatabase::find($id);
$database->delete();
// @TODO delete db sql
DB::statement("DROP DATABASE $database->name;");
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment