-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Leva's
RunnerResult
to add runner_class attribute
This commit adds the `runner_class` attribute to the `RunnerResult` model in the Leva module. The `runner_class` attribute is used to store the name of the runner class associated with the result. This change includes modifications to the model, migration, and tests. Related to recent code changes that added the `runner_class` attribute to the `RunnerResult` model and migration files.
- Loading branch information
1 parent
62cb6e5
commit f1a558f
Showing
5 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
db/migrate/20240912183556_add_runner_class_to_leva_runner_results.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddRunnerClassToLevaRunnerResults < ActiveRecord::Migration[7.2] | ||
def change | ||
add_column :leva_runner_results, :runner_class, :string | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters