Sha256: c5b4e32334adb1d8cedddfa132a754e38e0f1f33b4a74f9c8b5c6693ff670dea

Contents?: true

Size: 443 Bytes

Versions: 12

Compression:

Stored size: 443 Bytes

Contents

# This migration creates the `potential_cruft_stacks` table
class CreatePotentialCruftStacks < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :potential_cruft_stacks do |t|
      t.references :potential_cruft, null: false
      t.string :stack_hash, null: false, index: true
      t.json :stack, null: false
      t.integer :occurrences, null: false, index: true, default: 0
      t.timestamps
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
is_this_used-0.1.12 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.11 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.10 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.9 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.8 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.7 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.5 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.4 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.3 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.2 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.1 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb
is_this_used-0.1.0 lib/generators/is_this_used/templates/create_potential_cruft_stacks.rb.erb