Skip to content

MichelJonkman/laravel-declarative-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Declarative Schema

Laravel integration for my declarative-schema package.

Usage

To create a new schema file call the command below.

php artisan make:schema table_name

For more information on how to write schema files, take a look at declarative-schema package.

And in order to migrate them you can either use the normal migrate command:

php artisan migrate

Or use the specific command to migrate schema files.

php artisan migrate:schema

Rollbacks don't do anything for schema files since you can just revert the file to its previous state and migrate again.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages