Sha256: a18692a6f928aa0fb7d06a5c0b224f14da45e9b0b666fdd6161eac8067d1d005

Contents?: true

Size: 176 Bytes

Versions: 16

Compression:

Stored size: 176 Bytes

Contents

class AddSlugToQuestions < ActiveRecord::Migration
  def change
    add_column :rostra_questions, :slug, :string
    add_index :rostra_questions, :slug, unique: true
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rostra-0.3.6 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.3.5 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.3.4 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.3.3 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.3.2 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.3.1 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.2.1 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.2.0 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.26 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.25 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.24 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.23 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.22 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.21 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.20 db/migrate/20111113220522_add_slug_to_questions.rb
rostra-0.1.19 db/migrate/20111113220522_add_slug_to_questions.rb