상속: implements Illuminate\Contracts\Support\Arrayable
예제 #1
0
    /** @test */
    public function it_generates_migration_methods_for_down_method()
    {
        $parser = new SchemaParser('username:string, password:integer');
        $expected = <<<TEXT
\t\t\t\$table->dropColumn('username');
\t\t\t\$table->dropColumn('password');

TEXT;
        self::assertEquals($expected, $parser->down());
    }