API de comptabilité horaire.
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.

20210511212634_create_records.rb 341B

12345678910111213
  1. class CreateRecords < ActiveRecord::Migration[6.1]
  2. def change
  3. create_table :records do |t|
  4. t.integer :duration, null: false
  5. t.boolean :is_handled, default: false
  6. t.references :handled_by, default: :null
  7. t.references :user, null: false
  8. t.references :task, null: false
  9. t.timestamps
  10. end
  11. end
  12. end