- Introduced a new `good_job_custom.css` file for custom styling of GoodJob logs. - Added a new `pixiv.png` icon for domain-specific logging in the `e621` posts helper. - Enhanced the `GoodJobHelper` module to parse ANSI escape codes for better log formatting. - Implemented a new `GoodJobExecutionLogLinesCollection` model to store log lines associated with job executions. - Updated views to display job execution details and logs with improved formatting and styling. - Refactored `ColorLogger` to support log line accumulation for better log management. These changes aim to improve the logging experience and visual representation of job execution details in the GoodJob dashboard.
18 lines
583 B
Ruby
18 lines
583 B
Ruby
class GoodJobExecutionLogLinesCollections < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :good_job_execution_log_lines_collections do |t|
|
|
t.uuid :good_job_execution_id, null: false
|
|
t.jsonb :log_lines
|
|
t.timestamps
|
|
end
|
|
|
|
add_index :good_job_execution_log_lines_collections,
|
|
:good_job_execution_id,
|
|
unique: true
|
|
add_foreign_key :good_job_execution_log_lines_collections,
|
|
:good_job_executions,
|
|
column: :good_job_execution_id,
|
|
on_delete: :cascade
|
|
end
|
|
end
|