CreateOwnershipsTable::up PHP Method

up() public method

Run the migrations.
public up ( ) : void
return void
    public function up()
    {
        Schema::create('ownerships', function (Blueprint $table) {
            $table->string('name')->unique()->primary();
            $table->timestamps();
        });
    }
CreateOwnershipsTable