ChaelCodes / MeetAnotherDay

An app to help you find and meet up with your friends at conferences.
MIT License
35 stars 20 forks source link

Remove name and bio from user table #182

Closed ChaelCodes closed 3 months ago

ChaelCodes commented 5 months ago

We're tracking name and bio on the profile table. We're doing this to support multiple profiles in the future on one user. (This feature may not manifest for a LONG time.) Therefore, we don't need a name and bio on the user table.

Please build a migration to drop them, run the migration, and commit the changes to db/schema.

fransan6 commented 5 months ago

Afternoon - could I be assigned to this, please?

ChaelCodes commented 5 months ago

Sure! Thank you for picking this up!

fransan6 commented 5 months ago

Sorry, but in point 3 of the local setup guide, where do I obtain a username and password? Though I do see a username already if we're looking from lines 85-89 in database.yml:

production:
  <<: *default
  database: ConfBuddies_production
  username: ConfBuddies
  password: <%= ENV['CONFBUDDIES_DATABASE_PASSWORD'] %> 
ChaelCodes commented 5 months ago

This should be your postgres username and password. Sometimes it's postgres/postgres and sometimes it's your computer's username.

You'll want to update the development section of the database config. The one you linked is only used in production.