Laravel模型上的迁移
如何使用特定表进行迁移? 我用命令试过了Laravel模型上的迁移,laravel,laravel-migrations,Laravel,Laravel Migrations,如何使用特定表进行迁移? 我用命令试过了 php artisan module:make-migration alter_table_product_prices_add_supplier_price --table=product_prices Product php artisan module:migrate-rollback --step=1 Product 或 但这是行不通的 如何使用step on laravel模块回滚迁移? 我用命令试过了 php artisan module
php artisan module:make-migration alter_table_product_prices_add_supplier_price --table=product_prices Product
php artisan module:migrate-rollback --step=1 Product
或
但这是行不通的
如何使用step on laravel模块回滚迁移?
我用命令试过了
php artisan module:make-migration alter_table_product_prices_add_supplier_price --table=product_prices Product
php artisan module:migrate-rollback --step=1 Product
或
如果您已经创建了表,并且想要添加/编辑/删除列,那么它也不起作用 你可以运行这个
php artisan make:migration add_column_name_to_product_prices_table
需要注意的重要事情是
你说的Laravel模块是什么意思?