DropTable
¶
use Formal\AccessLayer\{
Query\DropTable,
Table\Name,
};
$drop = DropTable::named(Name::of('users'));
$connection($drop);
This query will fail if the table doesn't exist, you can prevent this like so:
DropTable
¶use Formal\AccessLayer\{
Query\DropTable,
Table\Name,
};
$drop = DropTable::named(Name::of('users'));
$connection($drop);
This query will fail if the table doesn't exist, you can prevent this like so: