AuditRecord
This commit is contained in:
parent
2804c55fd9
commit
c2dfc1f04a
5 changed files with 42 additions and 1 deletions
11
db/migrate/20210321225317_create_audit_records.rb
Normal file
11
db/migrate/20210321225317_create_audit_records.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class CreateAuditRecords < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :audit_records do |t|
|
||||
t.string :model
|
||||
t.string :action
|
||||
t.string :params
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue