Sha256: 5d8a0f45a81f34f1ef691f0a3639a32317533fa47cee949591a2d6ca419ff146
Contents?: true
Size: 747 Bytes
Versions: 60
Compression:
Stored size: 747 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, 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 end end end
Version data entries
60 entries across 60 versions & 2 rubygems