'rails g migration' not executing #131
-
Hi guys! I'm trying to add columns(deadline and status) in my tasks model(user stories 4-7 lang kasi binasa ko 😅) and tried to research how to do it on terminal. Almost 1 hour na nung triny kong irun yung command pero parang walang nang yayari😥 Baka may alam kayong ibang paraan or kung may mali sa ginawa ko? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi. I think the command on your terminal should have worked. Anyway, here is a snippet from rails guide: Source: https://edgeguides.rubyonrails.org/active_record_migrations.html |
Beta Was this translation helpful? Give feedback.
-
hi @visnusantos1203 , did you try to restart your PC? |
Beta Was this translation helpful? Give feedback.
Hi. I think the command on your terminal should have worked. Anyway, here is a snippet from rails guide:
"rails generate migration AddPartNumberToProducts part_number:string"
Try to use the same format for your code.
Source: https://edgeguides.rubyonrails.org/active_record_migrations.html