Sha256: 2010f3cf2cd083f3e0c241b4f1169172d6c3da26cc116b9a4e461cfe761c42ad
Contents?: true
Size: 756 Bytes
Versions: 16
Compression:
Stored size: 756 Bytes
Contents
class CreateQbrickBricks < ActiveRecord::Migration def change create_table :qbrick_bricks do |t| t.integer :position t.references :brick_list, :polymorphic => true # all bricks t.string :type # all bricks t.string :locale # all bricks t.text :text # TextBrick t.text :read_more_text # TextBrick t.string :caption # LinkBrick, ImageBrick, AccordionItemBrick, AnchorBrick t.text :href # LinkBrick, ImageBrick, VideoBrick t.string :link_style # LinkBrick t.integer :partitioning # TwoColumnBrick t.string :image # ImageBrick t.string :image_size # ImageBrick t.text :embed_src # VideoBrick t.string :video # VideoBrick t.timestamps null: true end end end
Version data entries
16 entries across 16 versions & 1 rubygems