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.

20210510133939_create_tasks.rb 317B

1234567891011121314
  1. class CreateTasks < ActiveRecord::Migration[6.1]
  2. def change
  3. create_table :tasks do |t|
  4. t.string :name, null: false
  5. t.index :name
  6. t.text :description
  7. t.integer :duration
  8. t.references :activity, null: false
  9. t.references :user, null: false
  10. t.timestamps
  11. end
  12. end
  13. end