Sha256: 9d141b4a26917aef66a5bd218e28a4e866fba84a21072f01562ae03bb0ea12b9

Contents?: true

Size: 181 Bytes

Versions: 4

Compression:

Stored size: 181 Bytes

Contents

class CreateGroups < ActiveRecord::Migration
  def self.up
    create_table :groups do |t|
	t.column :name, :string
    end
  end

  def self.down
    drop_table :groups
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
joinfix-0.1.1 rails/db/migrate/005_create_groups.rb
joinfix-0.1.0 rails/db/migrate/005_create_groups.rb
joinfix-1.0.0 rails/db/migrate/005_create_groups.rb
joinfix-1.0.1 rails/db/migrate/005_create_groups.rb