Sha256: 1fea00db15270188aaa4534e15d0f654125d22e5c3d4734f4da4fc299d940064
Contents?: true
Size: 265 Bytes
Versions: 4
Compression:
Stored size: 265 Bytes
Contents
class CreateDivisionsMigration < ActiveRecord::Migration def self.up create_table :divisions do |t| t.timestamps t.integer :league_id t.string :name, limit: 50, null: false end end def self.down drop_table(:divisions) end end
Version data entries
4 entries across 4 versions & 1 rubygems