mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
14 lines
388 B
Ruby
14 lines
388 B
Ruby
class CreateApiRequests < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :api_requests do |t|
|
|
t.references :application_integration, null: true, foreign_key: true
|
|
t.references :integration_authorization, null: true, foreign_key: true
|
|
t.string :result
|
|
t.integer :updates_used, default: 0
|
|
t.string :ip_address
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|