1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/db/migrate/20160504085905_create_open_api_calls_count_tracings.rb

13 lines
360 B
Ruby

# frozen_string_literal:true
class CreateOpenAPICallsCountTracings < ActiveRecord::Migration[4.2]
def change
create_table :open_api_calls_count_tracings do |t|
t.belongs_to :open_api_client, foreign_key: true, index: true
t.integer :calls_count, null: false
t.datetime :at, null: false
t.timestamps null: false
end
end
end