Skip to content

Commit

Permalink
Renames AddRemotenessToEvents migration to AddVirtualToEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
matyikriszta committed Oct 31, 2022
1 parent b5c9b03 commit 890b01a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddRemotenessToEvents < ActiveRecord::Migration
class AddVirtualToEvents < ActiveRecord::Migration
def change
add_column :events, :virtual, :boolean, null: false, default: false
end
Expand Down
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
t.boolean "confirmation_required", default: false
t.boolean "surveys_required", default: false
t.string "audience"
t.boolean "remote", default: false, null: false
t.boolean "virtual", default: false, null: false
end

add_index "events", ["slug"], name: "index_events_on_slug", unique: true, using: :btree
Expand Down

0 comments on commit 890b01a

Please sign in to comment.