Skip to content

'rails g migration' not executing #131

Discussion options

You must be logged in to vote

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

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@visnusantos1203
Comment options

@bendeloyola
Comment options

@chestergarett
Comment options

@jeraldbatal22
Comment options

@visnusantos1203
Comment options

Answer selected by visnusantos1203
Comment options

You must be logged in to vote
1 reply
@visnusantos1203
Comment options

# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
6 participants