📜  创建 laravel 项目的步骤 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:51.295000             🧑  作者: Mango

代码示例3
Schema::table('users', function($table)
{
    $table->create();
    $table->increments('id');
    $table->string('username');
    $table->string('email');
    $table->string('phone')->nullable();
    $table->text('about');
    $table->timestamps();
});