Added some models
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

User
Item
Department
Categorie
AssignmentLog
Room
This commit is contained in:
2026-05-21 15:36:23 +02:00
parent 7b02520b6c
commit b7f0c35378
27 changed files with 387 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
class CreateAssignmentLogs < ActiveRecord::Migration[8.1]
def change
create_table :assignment_logs do |t|
t.references :item, foreign_key: true
t.references :user, foreign_key: true
t.references :room, foreign_key: true
t.datetime :assigned_at
t.datetime :returned_at
t.timestamps
end
end
end