-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from israel-hdez/middleware_reports
Create table to store list of jdr reports for a middleware server
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
db/migrate/20170720194715_create_middleware_diagnostic_reports.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,12 @@ | ||
class CreateMiddlewareDiagnosticReports < ActiveRecord::Migration[5.0] | ||
def change | ||
create_table :middleware_diagnostic_reports do |t| | ||
t.datetime :queued_at | ||
t.string :requesting_user | ||
t.string :status | ||
t.string :error_message | ||
t.references(:middleware_server, :type => :bigint) | ||
t.timestamps | ||
end | ||
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