mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 19:55:16 +00:00
13 lines
329 B
Ruby
13 lines
329 B
Ruby
class CreatePgheroSpaceStats < ActiveRecord::Migration[8.1]
|
|
def change
|
|
create_table :pghero_space_stats do |t|
|
|
t.text :database
|
|
t.text :schema
|
|
t.text :relation
|
|
t.integer :size, limit: 8
|
|
t.timestamp :captured_at
|
|
end
|
|
|
|
add_index :pghero_space_stats, [ :database, :captured_at ]
|
|
end
|
|
end
|