submission_text field migration

This commit is contained in:
madhekare 2021-02-16 13:44:15 -08:00 committed by CactusPuppy
parent 88373a7f47
commit 46fa17b55c
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 7 additions and 4 deletions

View file

@ -0,0 +1,5 @@
class AddSubmissionTextToEvents < ActiveRecord::Migration[5.2]
def change
add_column :events, :submission_text, :text
end
end

View file

@ -10,10 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_07_16_181602) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
ActiveRecord::Schema.define(version: 2021_02_15_213515) do
create_table "answers", force: :cascade do |t|
t.string "title"
@ -257,6 +254,7 @@ ActiveRecord::Schema.define(version: 2020_07_16_181602) do
t.integer "program_id"
t.integer "max_attendees"
t.integer "comments_count", default: 0, null: false
t.text "submission_text"
end
create_table "events_registrations", force: :cascade do |t|