Sha256: 7dfa80b6fbefb9b847a1826c31ad7ff79ba2fa2b3ae9d0bb95798c1f88eee02d
Contents?: true
Size: 411 Bytes
Versions: 44
Compression:
Stored size: 411 Bytes
Contents
class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %> def change create_table :pghero_query_stats do |t| t.text :database t.text :user t.text :query t.integer :query_hash, limit: 8 t.float :total_time t.integer :calls, limit: 8 t.timestamp :captured_at end add_index :pghero_query_stats, [:database, :captured_at] end end
Version data entries
44 entries across 44 versions & 2 rubygems