Skip to content

Commit 4b6e583

Browse files
authored
Merge pull request #859 from portagenetwork/aaron/issues/723
Drop Sessions Table and Delete `lib/tasks/sessions.rake`
2 parents 209533f + 5361188 commit 4b6e583

File tree

4 files changed

+116
-117
lines changed

4 files changed

+116
-117
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Changed
6+
7+
- Drop Sessions Table and Delete `lib/tasks/sessions.rake` [#859](https://github.com/portagenetwork/roadmap/pull/859)
8+
59
### Fixed
610

711
- Fix triggering and title of autosent email when a user's admin privileges are changed [#858](https://github.com/portagenetwork/roadmap/pull/858)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class DropSessionsTable < ActiveRecord::Migration[6.1]
2+
def up
3+
drop_table :sessions
4+
end
5+
6+
def down
7+
# rollback will the execute the initial migration code written to create the sessions table
8+
require Rails.root.join('db/migrate/20181024120747_add_sessions_table.rb')
9+
AddSessionsTable.new.change
10+
end
11+
end

0 commit comments

Comments
 (0)