Skip to content

Commit

Permalink
Inherit seed from base, align with AMA for seed file placement
Browse files Browse the repository at this point in the history
  • Loading branch information
msteele96 committed Aug 30, 2024
1 parent 0e478a9 commit e86e8c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def seed
RequestStore[:current_user] = User.system_user
call_and_log_seed_step :clean_db

call_and_log_seed_step Seeds::ApiKeys
call_and_log_seed_step Seeds::Annotations
call_and_log_seed_step Seeds::Tags
# These must be ran before others
Expand All @@ -54,7 +55,6 @@ def seed
call_and_log_seed_step Seeds::BgsServiceRecordMaker
call_and_log_seed_step Seeds::PopulateCaseflowFromVacols
call_and_log_seed_step Seeds::IssueModificationRequest
call_and_log_seed_step Seeds::ApiKeys
end
end

Expand Down
4 changes: 1 addition & 3 deletions db/seeds/api_keys.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
# create annotation seeds

module Seeds
require "./app/models/api_key.rb"

class ApiKeys
class ApiKeys < Base
def seed!
create_api_keys
end
Expand Down

0 comments on commit e86e8c9

Please sign in to comment.