Sha256: f471b9e0db8935ba81854922a343824729d8ec69b3fb0387636cc92afef815ee
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
class CreateLeaguesMigration < ActiveRecord::Migration def self.up create_table(:leagues) do |t| t.timestamps t.string(:name, :limit => 50, :null => false) end end def self.down drop_table(:leagues) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
merb-admin-0.8.5 | spec/migrations/activerecord/003_create_leagues_migration.rb |
merb-admin-0.8.3 | spec/migrations/activerecord/003_create_leagues_migration.rb |