Skip to content

Commit 8ddb028

Browse files
committed
Reset instead of just setting up the DB on bin/setup
To avoid issues with FKs, this will drop the DB first.
1 parent e260afb commit 8ddb028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ bundle
99

1010
echo "Creating databases..."
1111

12-
rails db:setup
12+
rails db:reset

0 commit comments

Comments
 (0)