Added enum to Task model. Added project to project to tasks. Changed Status data type in Tasks.
This commit is contained in:
5
db/migrate/20260126094649_add_project_to_tasks.rb
Normal file
5
db/migrate/20260126094649_add_project_to_tasks.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddProjectToTasks < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
add_reference :tasks, :project, null: false, foreign_key: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user