| Index: db/migrate/004_create_tags.rb |
| =================================================================== |
| --- db/migrate/004_create_tags.rb (revision 0) |
| +++ db/migrate/004_create_tags.rb (revision 0) |
| @@ -0,0 +1,12 @@ |
| +class CreateTags < ActiveRecord::Migration |
| + def self.up |
| + create_table :tags do |t| |
| + t.string :name |
| + t.timestamps |
| + end |
| + end |
| + |
| + def self.down |
| + drop_table :tags |
| + end |
| +end |