Sha256: b1ced14b9c6cfb33f898542e9eb4336d83b753e40de1526bced3134eb0460ad5

Contents?: true

Size: 217 Bytes

Versions: 14

Compression:

Stored size: 217 Bytes

Contents

class CreateGroupsTable < ActiveRecord::Migration
  def change
    create_table :groups do |t|
      t.string :user_id, index: true
      t.string :name
      t.text :description

      t.timestamps
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
paid_up-0.2.4 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.2.3 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.2.2 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.2.1 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.2.0 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.9 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.8 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.7 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.6 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.5 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.4 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.3 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.1 spec/dummy/db/migrate/20150517175135_create_groups_table.rb
paid_up-0.1.0 spec/dummy/db/migrate/20150517175135_create_groups_table.rb