Add fields to models
This commit is contained in:
5
db/migrate/20251027122702_add_active_to_projects.rb
Normal file
5
db/migrate/20251027122702_add_active_to_projects.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddActiveToProjects < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
add_column :projects, :active, :boolean, default: true, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user