blog_perso_app/db/migrate/0011_create_allowed_block_contents.rb
Nicolas Bally 56a0aa9848 initial
2012-06-17 21:11:12 +02:00

16 lines
307 B
Ruby

# -*- encoding : utf-8 -*-
class CreateAllowedBlockContents < ActiveRecord::Migration
def self.up
create_table :allowed_block_contents do |t|
t.references :block
t.references :content_type
t.timestamps
end
end
def self.down
drop_table :allowed_block_contents
end
end