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

Version Path
kuhsaft-2.6.3 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.6.2 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.6.1 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.5.2 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.6.0 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.5.1 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.5.0 db/migrate/02_create_kuhsaft_bricks.rb
qbrick-2.5.0.pre db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.4.3 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.4.2 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.4.1 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.4.0 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.6 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.5 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.4 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.3 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.2 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.1 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.3.0 db/migrate/02_create_kuhsaft_bricks.rb
kuhsaft-2.2.6 db/migrate/02_create_kuhsaft_bricks.rb