Sha256: 0d7b0856a98fb3ee368489d6cab222035090af591fccd95077ca1cbef4dbcb85

Contents?: true

Size: 255 Bytes

Versions: 87

Compression:

Stored size: 255 Bytes

Contents

class CreatePolyblockBlocks < ActiveRecord::Migration
  def change
    create_table :polyblock_blocks do |t|
      t.string :name
      t.text :content
      t.integer :contentable_id
      t.string :contentable_type

      t.timestamps
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
polyblock-0.2.1 db/migrate/20131201194124_create_polyblock_blocks.rb
polyblock-0.2.0 db/migrate/20131201194124_create_polyblock_blocks.rb
polyblock-0.1.8 db/migrate/20131201194124_create_polyblock_blocks.rb
polyblock-0.1.7 db/migrate/20131201194124_create_polyblock_blocks.rb
polyblock-0.1.6 db/migrate/20131201194124_create_polyblock_blocks.rb
polyblock-0.1.2 db/migrate/20131201194124_create_polyblock_blocks.rb
polyblock-0.0.7 db/migrate/20131201194124_create_polyblock_blocks.rb