Skip to content

Commit 4799058

Browse files
committed
Migrated database schema to store mlh_communications
1 parent 19c59e5 commit 4799058

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddMlhCommunicationsToEventApplications < ActiveRecord::Migration[5.2]
2+
def change
3+
add_column :event_applications, :mlh_communications, :boolean
4+
end
5+
end

db/schema.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema.define(version: 2020_06_18_042555) do
13+
ActiveRecord::Schema.define(version: 2022_10_13_150340) do
1414

1515
# These are extensions that must be enabled in order to support this database
1616
enable_extension "plpgsql"
@@ -56,6 +56,7 @@
5656
t.string "gender"
5757
t.string "pronoun"
5858
t.json "custom_fields"
59+
t.boolean "mlh_communications"
5960
end
6061

6162
create_table "event_attendances", force: :cascade do |t|

0 commit comments

Comments
 (0)