
use ORM::ActiveRecord::Schema::Migration;

class CreateImages is Migration {
  method up {
    self.create-table: 'images', [
      name => { :string, limit => 32 }
      ext => { :string, limit => 4 }
    ]
  }

  method down {
    self.drop-table: 'images';
  }
}
