OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/20220517113828_create_non_w...

11 lines
270 B

class CreateNonWorkingDays < ActiveRecord::Migration[6.1]
def change
create_table :non_working_days do |t|
t.string :name, null: false
t.date :date, null: false
t.timestamps
end
add_index :non_working_days, :date, unique: true
end
end