Audit logging improved. References users, screenshots, packages
This commit is contained in:
parent
b6dee6b93c
commit
2fef9c7043
12 changed files with 95 additions and 45 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_02_28_191717) do
|
||||
ActiveRecord::Schema.define(version: 2021_03_03_213303) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -59,10 +59,12 @@ ActiveRecord::Schema.define(version: 2021_02_28_191717) do
|
|||
t.string "message"
|
||||
t.string "level"
|
||||
t.string "section"
|
||||
t.string "token"
|
||||
t.inet "ip_address"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "user_id"
|
||||
t.integer "package_id"
|
||||
t.integer "screenshot_id"
|
||||
end
|
||||
|
||||
create_table "packages", id: :serial, force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue