mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-27 11:32:52 +02:00
18 lines
451 B
Ruby
18 lines
451 B
Ruby
# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
|
|
# License: GNU AGPL-3+ (see full text in LICENSE file)
|
|
|
|
class CreateCheckLogs < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :check_logs do |t|
|
|
t.references :check, foreign_key: true
|
|
t.text :raw_response
|
|
t.integer :exit_status
|
|
t.text :parsed_response
|
|
t.text :error
|
|
t.integer :status
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|