Sha256: c741c2a1015baefa9c8eefb08a88a0827f3188216a553761b07db2cbb8cc5832

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

class CreateContentBuilderImages < ActiveRecord::Migration[6.0]
  def change
    create_table :content_builder_images do |t|
      t.string :image
      t.references :content_builder, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_admin_content_builder_rails_6-1.2.0 lib/generators/templates/create_content_builder_image_migration.rb
rails_admin_content_builder_rails_6-1.1.0 lib/rails_admin_content_builder_rails_6/generators/templates/create_content_builder_image_migration.rb
rails_admin_content_builder_rails_6-1.0.1 lib/rails_admin_content_builder_rails_6/generators/templates/create_content_builder_image_migration.rb
rails_admin_content_builder_rails_6-1.0.0 lib/rails_admin_content_builder_rails_6/generators/templates/create_content_builder_image_migration.rb