This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ADD NEW COLUMN id_policy INTO TABLE | |
| # action es - alter, update, create, add, drop, etc | |
| # php artisan make:migration MIGRATION_NAME | |
| # --table=TABLENAME in case alter an existing table | |
| php artisan make:migration add_id_policy_documents --table=documents | |
| # after we have to modify our new migrate and add in the UP function | |
| $table->integer('id_policy')->nullable(); |
NewerOlder