Sha256: bb63413dd5da7d68d4a6ee67b8c4e3a7883ef532caef129bf846e797735cc116

Contents?: true

Size: 425 Bytes

Versions: 11

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

class CreateKatalystNavigationItems < ActiveRecord::Migration[7.0]
  def change
    create_table :katalyst_navigation_items do |t|
      t.belongs_to :menu, foreign_key: { to_table: :katalyst_navigation_menus }, null: false

      t.string :type
      t.string :title
      t.string :url
      t.string :http_method
      t.boolean :visible, default: true

      t.timestamps
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
katalyst-navigation-1.3.2 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.3.1 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.3.0 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.2.0 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.1.2 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.1.1 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.1.0 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.0.3 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.0.2 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.0.1 db/migrate/20220826034507_create_katalyst_navigation_items.rb
katalyst-navigation-1.0.0 db/migrate/20220826034507_create_katalyst_navigation_items.rb