Sha256: 3f40562a06b74d892d9fd0d9c5979e24bd93b90681f260deb83bab20f5e41b13

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

class AddPandaCMSMenuTable < ActiveRecord::Migration[7.1]
  def change
    create_table :panda_cms_menus, id: :uuid do |t|
      t.string :name, null: false
      t.timestamps
    end

    add_index :panda_cms_menus, :name, unique: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panda-cms-0.7.3 db/migrate/20240303233238_add_panda_cms_menu_table.rb
panda-cms-0.7.2 db/migrate/20240303233238_add_panda_cms_menu_table.rb
panda-cms-0.7.0 db/migrate/20240303233238_add_panda_cms_menu_table.rb