API de comptabilité horaire.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

20210413142821_create_activities.rb 279B

123456789101112
  1. class CreateActivities < ActiveRecord::Migration[6.1]
  2. def change
  3. create_table :activities do |t|
  4. t.string :name, index: true, null: false
  5. t.string :client
  6. t.string :description
  7. t.references :author, null: false
  8. t.timestamps
  9. end
  10. end
  11. end