Sha256: 66acac743d8fb87dd2f51e2f87d97381a5af90d676d0ca17536d806439940daa
Contents?: true
Size: 429 Bytes
Versions: 17
Compression:
Stored size: 429 Bytes
Contents
class CreateCmPageBuilderRailsPageComponents < ActiveRecord::Migration[6.0] def change create_table :cm_page_builder_rails_page_components, id: :string do |t| t.references :page, null: false t.string :content t.integer :position t.string :component_type t.timestamps end add_foreign_key :cm_page_builder_rails_page_components, :cm_page_builder_rails_pages, column: :page_id end end
Version data entries
17 entries across 17 versions & 2 rubygems