Sha256: a845d16089845aa0494adc1afc33ffd4dc55e5744cf3574ddb68195b2e72da05

Contents?: true

Size: 251 Bytes

Versions: 10

Compression:

Stored size: 251 Bytes

Contents

class CreateTramwayPagePages < ActiveRecord::Migration[5.1]
  def change
    create_table :tramway_page_pages do |t|
      t.text :title
      t.text :body
      t.text :slug
      t.text :state, default: :active

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tramway-page-1.3 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.2.2 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.2.1 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.2 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.1.3 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.1.2 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.1.1 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.1 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-1.0.0 lib/tramway/page/generators/templates/create_tramway_page_pages.rb
tramway-page-0.1.0 lib/tramway/page/generators/templates/create_tramway_page_pages.rb