Initial commit

This commit is contained in:
Yaser
2026-08-13 19:56:46 +03:30
commit de1d57a67b
474 changed files with 43185 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
class CreateActivities < ActiveRecord::Migration[5.2]
def change
create_table :activities do |t|
t.references :user, null: false
t.string :user_ip, null: false
t.string :user_agent, null: false
t.string :topic, null: false
t.string :action, null: false
t.string :result, null: false
t.text :data, null: true
t.timestamp :created_at # avoid updated_at as records not supposed to be updated
end
end
end