ecole_eft_app/db/migrate/0011_create_allowed_block_contents.rb
2013-02-13 00:51:35 +01: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