handle adding work for homie
This commit is contained in:
11
db/migrate/20200919023237_create_work.rb
Normal file
11
db/migrate/20200919023237_create_work.rb
Normal 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
|
||||
Reference in New Issue
Block a user