Skip to content

Commit

Permalink
add scope to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmelt committed Oct 30, 2024
1 parent dce0e1f commit a9fc89b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module OpenC3
class ScopeCriticalCmd < Migration
def self.run
ScopeModel.names.each do |scope|
existing_model = MicroserviceModel.get_model(name: "#{scope}__CRITICALCMD__#{scope}")
existing_model = MicroserviceModel.get_model(name: "#{scope}__CRITICALCMD__#{scope}", scope: scope)
if not existing_model
scope_model = ScopeModel.get_model(name: scope)
parent = "#{scope}__SCOPEMULTI__#{scope}"
Expand Down

0 comments on commit a9fc89b

Please sign in to comment.