[feat] Add include_happening_now field to splashpages table
This commit is contained in:
parent
1e88ff6ad7
commit
fd8652d768
4 changed files with 9 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
|||
# banner_photo_updated_at :datetime
|
||||
# include_booths :boolean
|
||||
# include_cfp :boolean default(FALSE)
|
||||
# include_happening_now :boolean
|
||||
# include_lodgings :boolean
|
||||
# include_program :boolean
|
||||
# include_registrations :boolean
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
class AddIncludeHappeningNowToSplashpages < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :splashpages, :include_happening_now, :boolean
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_03_06_185903) do
|
||||
ActiveRecord::Schema.define(version: 2021_04_01_050437) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -442,6 +442,7 @@ ActiveRecord::Schema.define(version: 2021_03_06_185903) do
|
|||
t.boolean "include_cfp", default: false
|
||||
t.boolean "include_booths"
|
||||
t.boolean "shuffle_highlights", default: false, null: false
|
||||
t.boolean "include_happening_now"
|
||||
end
|
||||
|
||||
create_table "sponsors", force: :cascade do |t|
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
# banner_photo_updated_at :datetime
|
||||
# include_booths :boolean
|
||||
# include_cfp :boolean default(FALSE)
|
||||
# include_happening_now :boolean
|
||||
# include_lodgings :boolean
|
||||
# include_program :boolean
|
||||
# include_registrations :boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue