FEATURE: allows published pages to be public (#10053)

This commit is contained in:
Joffrey JAFFEUX
2020-06-17 12:42:20 +02:00
committed by GitHub
parent 7d289a4f3e
commit 9da3a7f436
14 changed files with 196 additions and 30 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddPublicFieldToPublishedPages < ActiveRecord::Migration[6.0]
def change
add_column :published_pages, :public, :boolean, null: false, default: false
end
end