Sha256: bda7e6152465abe51b792dd7ae7602b8a8cbf9078cf23b3a98d695e2aaf43055

Contents?: true

Size: 186 Bytes

Versions: 15

Compression:

Stored size: 186 Bytes

Contents

class AddActiveColumnToGroups < ActiveRecord::Migration[5.2]
  def change
    add_column :groups, :active, :boolean, null: false, default: false
    add_index :groups, :active
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
paid_up-0.13.22 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.21 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.17 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.16 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.14 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.13 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.12 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.11 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.10 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.9 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.8 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.7 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.6 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.5 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb
paid_up-0.13.4 spec/dummy/db/migrate/20170220001913_add_active_column_to_groups.rb