Sha256: 9f43a5028578f9adc31afce32764203f35a072cfc2f71ca798d9d57fed7321e8

Contents?: true

Size: 220 Bytes

Versions: 21

Compression:

Stored size: 220 Bytes

Contents

class CreateTrackableTags < ActiveRecord::Migration[5.2]
  def change
    create_table :trackable_tags do |t|
      t.string :name

      t.timestamps
    end
    add_index :trackable_tags, :name, unique: true
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hackathon_manager-0.14.1 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.14.0 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.12 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.11 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.10 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.9 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.8 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.7 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.6 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.5 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.4 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.3 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.2 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.1 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.13.0 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.12.2 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.12.1 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.12.0 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.11.2 db/migrate/20190107232955_create_trackable_tags.rb
hackathon_manager-0.11.1 db/migrate/20190107232955_create_trackable_tags.rb