Skip to content

Commit

Permalink
Execute activerecord session migration on first start; #33
Browse files Browse the repository at this point in the history
  • Loading branch information
robertauer committed Jan 28, 2020
1 parent 6dd56b6 commit 785e164
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ else
echo "Creating database structure..."
exec_rake db:migrate

# Session migration
echo "Generating session migration..."
rails generate active_record:session_migration
echo "Executing session migration..."
exec_rake db:migrate

# Set session store
echo "Writing session_store.rb..."
write_session_store_rb
Expand Down

0 comments on commit 785e164

Please sign in to comment.