Remove obsolete report columns from polls
These columns are obsolete since commit354b183e, and its content was migrated in version 1.0 with the task defined in commit9ae0cbb2.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class RemoveOldStatsAndResultsEnabledColumns < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
remove_column :polls, :results_enabled, :boolean, default: false
|
||||
remove_column :polls, :stats_enabled, :boolean, default: false
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20191105184023) do
|
||||
ActiveRecord::Schema.define(version: 20191107193003) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -1222,8 +1222,6 @@ ActiveRecord::Schema.define(version: 20191105184023) do
|
||||
t.integer "author_id"
|
||||
t.datetime "hidden_at"
|
||||
t.string "slug"
|
||||
t.boolean "results_enabled", default: false
|
||||
t.boolean "stats_enabled", default: false
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.integer "budget_id"
|
||||
|
||||
Reference in New Issue
Block a user