public function testRemoveColumn() { $schema = Schema::create()->add('id', 'number')->add('name', 'string'); $this->assertTrue($schema->has('id')); $schema->remove('id'); $this->assertFalse($schema->has('id')); }
public static function getBeatlesSchema() { return Schema::create()->add('name', 'string')->add('birthday', 'datetime', array('time_format' => \IntlDateFormatter::NONE))->add('alive', 'boolean', array('true_value' => 'yes :)', 'false_value' => 'no :(')); }