Hello I am new to rails. I am working with an existing postgres db. I would like to create CRUD for all of the tables. I've started with: rails g scaffold firstTableName
Then I start rails: rails s
When I navigate to localhost:3000/firstTableName, rails gives the following error: Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue.
I thought that 'rake db:migrate' was only for setting up your database. My db is already set up. If I run 'rake db:migrate', then I get an error that firstTableName already exists. Please Help me understand how to make rails happy. Thank you.