Class: CreateSimpleHashtagHashtags
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateSimpleHashtagHashtags
- Defined in:
- lib/generators/simple_hashtag/templates/migrations/create_hashtags_migration.rb
Overview
This migration comes from simple_hashtag
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/generators/simple_hashtag/templates/migrations/create_hashtags_migration.rb', line 3 def change create_table :simple_hashtag_hashtags do |t| t.string :name, :index => true t. end end |