handle adding work for homie

This commit is contained in:
Bilal
2020-09-19 04:46:17 +03:00
parent 6e0df8e7b7
commit ffde784e59
7 changed files with 70 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
class CreateWork < ActiveRecord::Migration[5.2]
def change
create_table :work do |t|
t.text :description
t.integer :amount
t.integer :homie_id, null: false
t.timestamps
end
end
end