add nice statistics

This commit is contained in:
2025-06-21 09:38:22 +02:00
parent 99b0aaa72e
commit e79626972f
43 changed files with 1359 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
class CreateActivity < ActiveRecord::Migration[8.0]
def change
create_table :activities do |t|
t.belongs_to :user, foreign_key: true
t.datetime :started_at, null: false
t.datetime :ended_at
t.string :platform
t.string :item_ref, null: false
t.string :item_title, null: false
t.string :item_length
t.timestamps
end
end
end