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