13 lines
222 B
Ruby
13 lines
222 B
Ruby
class CreateTags < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :tags do |t|
|
|
t.string :title, :length => 150, :null => false
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :tags
|
|
end
|
|
end
|