Class: CreateTaggings
- Inherits:
- 
      ActiveRecord::Migration
      
        - Object
- ActiveRecord::Migration
- CreateTaggings
 
- Defined in:
- lib/dircat/cat_on_sqlite/migration/04_create_taggings.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
| 10 11 12 | # File 'lib/dircat/cat_on_sqlite/migration/04_create_taggings.rb', line 10 def self.down drop_table :taggings end | 
.up ⇒ Object
| 3 4 5 6 7 8 | # File 'lib/dircat/cat_on_sqlite/migration/04_create_taggings.rb', line 3 def self.up create_table :taggings, :id => false do |t| t.integer :item_id t.integer :tag_id end end |