Skip to content

Commit

Permalink
Merge branch 'main' of github.com:avo-hq/avodemo
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Apr 13, 2023
2 parents 4d7dd9e + 35947bb commit c8ac1e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/services/seed_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def self.seed
Fish.delete_all
Course.delete_all
Course::Link.delete_all
Fish.delete_all
TeamMembership.delete_all
Team.delete_all
Comment.delete_all
Expand Down
5 changes: 5 additions & 0 deletions db/migrate/20220729223019_add_user_id_to_fish.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddUserIdToFish < ActiveRecord::Migration[6.0]
def change
add_reference :fish, :user, null: true, foreign_key: true
end
end

0 comments on commit c8ac1e0

Please sign in to comment.