Skip to content

Allows dropping types when running php artisan migrate:fresh#1

Open
drewrichards wants to merge 1 commit into5.8from
5.8-postgres-drop-types
Open

Allows dropping types when running php artisan migrate:fresh#1
drewrichards wants to merge 1 commit into5.8from
5.8-postgres-drop-types

Conversation

@drewrichards
Copy link
Owner

No description provided.


['drop-views', null, InputOption::VALUE_NONE, 'Drop all tables and views'],

['drop-types', null, InputOption::VALUE_NONE, 'Drop all tables and types (Postgres only)'],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Feedback here may be to change this to PostgreSQL

*/
public function dropAllTypes()
{
throw new LogicException('This database driver does not support dropping all types');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other exceptions in this class end in a period

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants