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 291B

12345678910111213
  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.references :activity, null: false
  8. t.references :user, null: false
  9. t.timestamps
  10. end
  11. end
  12. end