Added some models
User Item Department Categorie AssignmentLog Room
This commit is contained in:
10
db/migrate/20260521121137_create_departments.rb
Normal file
10
db/migrate/20260521121137_create_departments.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateDepartments < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
create_table :departments do |t|
|
||||
t.string :name
|
||||
t.string :code
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user