Sha256: bfc6d08c6e0d4bcd6b532f30cb068f56368e2e292ead8354e66e5686ff154c74
Contents?: true
Size: 682 Bytes
Versions: 31
Compression:
Stored size: 682 Bytes
Contents
class CreateSmithyPageContents < ActiveRecord::Migration def change create_table :smithy_page_contents do |t| t.belongs_to :page t.string :label t.string :container t.string :content_block_type t.integer :content_block_id t.belongs_to :content_block_template t.integer :position t.timestamps end add_index :smithy_page_contents, :page_id add_index :smithy_page_contents, :container add_index :smithy_page_contents, :content_block_type add_index :smithy_page_contents, :content_block_id add_index :smithy_page_contents, :content_block_template_id add_index :smithy_page_contents, :position end end
Version data entries
31 entries across 31 versions & 1 rubygems