light2000/laravel-migration-columns-sort

supplement for laravel migration add sorted columns

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/light2000/laravel-migration-columns-sort

v1.2.0 2022-03-31 02:36 UTC

This package is auto-updated.

Last update: 2025-12-29 03:27:09 UTC


README

  • support artisan migrate with sorted columns added
  • AUTO_INCREMENT and PRIMARY KEY is always in the head
  • 'created_at', 'updated_at', 'deleted_at' is always at the bottom

Install

Require this package with composer using the following command:

composer require light2000/laravel-migration-columns-sort

just modify use statement from

use Illuminate\Support\Facades\Schema;

to

use Light2000\LaravelMigrationColumnsSort\Schema;

in migrate files.

Thanks

PS.

sorry for my bad english