Sha256: 83cd5ef948f7f65d08826e4732b740a37e1562e8210bea3cd9c1834118fb9ea0
Contents?: true
Size: 735 Bytes
Versions: 9
Compression:
Stored size: 735 Bytes
Contents
class CreateKuhsaftBricks < ActiveRecord::Migration def change create_table :kuhsaft_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 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 end end end
Version data entries
9 entries across 9 versions & 1 rubygems