1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20160504085905_create_open_api_calls_count_tracings.rb

13 lines
360 B
Ruby
Raw Normal View History

# 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