Sha256: 0e16a067abad0379f6b03ea0b648c3254400c8df5193f30e6e32873ee243cdcb

Contents?: true

Size: 371 Bytes

Versions: 85

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

class CreateTramwayLandingBlocks < ActiveRecord::Migration[5.1]
  def change
    create_table :tramway_landing_blocks do |t|
      t.text :title
      t.text :background
      t.text :block_type
      t.integer :position
      t.text :state, default: :active
      t.text :view_state, default: :hidden

      t.timestamps
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
tramway-landing-1.8.2.1 lib/tramway/landing/generates/templates/create_tramway_landing_blocks.rb
tramway-landing-1.8.2 lib/tramway/landing/generates/templates/create_tramway_landing_blocks.rb
tramway-landing-1.8.1.2 lib/tramway/landing/generates/templates/create_tramway_landing_blocks.rb
tramway-landing-1.8.1.1 lib/tramway/landing/generates/templates/create_tramway_landing_blocks.rb
tramway-landing-1.8.1 lib/tramway/landing/generates/templates/create_tramway_landing_blocks.rb