我无法弄清楚如何使用Laravel框架将新列添加到现有数据库表中.
我尝试使用...编辑迁移文件
<?php
public function up()
{
Schema::create('users', function ($table) {
$table->integer("paid");
});
}
Run Code Online (Sandbox Code Playgroud)
在终端,我执行php artisan migrate:install和migrate.
如何添加新列?