WDI-SEA / project-2-issues

0 stars 0 forks source link

trouble adding column to table #47

Closed mgkdn9 closed 2 years ago

mgkdn9 commented 2 years ago

I need to add a 'title' column to 'toolRequests' table. So far I have changed the migrations file, the model file, db:migrate:undo, db:migrate. But (a) the tables were not dropped as expected(all users and toolRequest data persists) and (b) column not added to 'toolRequests'

mgkdn9 commented 2 years ago

I did DROP TABLE "toolRequests"; so now toolRequests is gone but db:migrate doesn't recreate it

TaylorDarneille commented 2 years ago

resolved