Sha256: b2aa4b39109bcd7197133474274708ce9cdb8376b2aabecb12b98cff64b9022c

Contents?: true

Size: 304 Bytes

Versions: 23

Compression:

Stored size: 304 Bytes

Contents

class AddStatusToPandaCmsPages < ActiveRecord::Migration[7.1]
  def change
    create_enum :panda_cms_page_status, ["active", "draft", "hidden", "archived"]
    add_column :panda_cms_pages, :status, :panda_cms_page_status, default: "active", null: false
    add_index :panda_cms_pages, :status
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
panda_cms-0.6.0 db/migrate/20240315125411_add_status_to_panda_cms_pages.rb
panda_cms-0.5.10 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.9 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.8 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.7 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.6 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.5 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.4 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.3 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.2 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.1 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.5.0 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.15 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.14 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.13 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.12 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.11 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.10 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.9 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
panda_cms-0.3.8 db/migrate/20240804110225_add_status_to_panda_cms_pages.rb