{"repo":"toramanlis/laravel-implicit-migrations","free":true,"listed":false,"github":"https://github.com/toramanlis/laravel-implicit-migrations","clone":"git clone https://github.com/toramanlis/laravel-implicit-migrations.git","description":"This package is a tool that creates Laravel migration files by inspecting the application's models.","language":"PHP","stars":43,"topics":["automated","automatic","eloquent","eloquent-orm","laravel","laravel-framework","laravel-package","migration","migration-tool","model"],"license":"MIT","category":"databases-storage","readme_excerpt":"- Overview - What It Is - How It Works - Implications - Annotations - PHP Attributes - Updates - Installation - Publishing The Attributes - Opting Out From Attributes - Installing To Production - Configuration - database.model paths - database.auto infer migrations - database.implications. - Manual Migrations - Implication Reference - Table - Column - Binary - Char - CString - Integer - TinyInteger - SmallInteger - MedumInteger - BigInteger - Increments - TinyIncrements - SmallIncrements - MedumIncrements - CFloat - Decimal - DateTime - DateTimeTz - Time - TimeTz - Timestamp - TimestampTz - Enum - Set - Geometry - Geography - Computed - Index - Unique - Primary - Relationship - ForeignKey - PivotTable - PivotColumn - Off Overview What It Is This package is a tool that creates Laravel migration files by inspecting the application's models with the command php artisan implicit-migrations:generate . Even after you change the model classes, you can run the command and generate a migration with the necessary update operations. How It Works With the most basic configuration, the implicit-migrations:generate artisan command looks at a Eloquent model and finds necessary information about the table properties such as the table name, primary key etc. Then it goes over the properties of the model and collects the name, type and default value information if provided. With the information collected, it creates a migration file and populates the up() and down() methods with the appropriate","default_branch":null,"files":null,"tree":[],"storefront":"/r/toramanlis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/toramanlis/laravel-implicit-migrations/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}