Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5845103d90
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.42 kb
class AddAdminPostTags < ActiveRecord::Migration
def self.up
create_table :admin_post_tags do |t|
t.string :name
t.integer :language_id
t.timestamps
end
create_table :admin_post_taggings do |t|
t.integer :admin_post_tag_id
t.integer :admin_post_id
t.timestamps
end
end
def self.down
drop_table :admin_post_tags
drop_table :admin_post_taggings
end
end
Jump to Line
Something went wrong with that request. Please try again.