HackGT / SponsorshipPortal

[in development] Web interface for sponsors to view participant information. Integrates with HackGT/registration
GNU General Public License v3.0
7 stars 0 forks source link

Setup database migrations, initialize db and implement models #56

Closed bunsenmcdubbs closed 6 years ago

bunsenmcdubbs commented 6 years ago

We can now run database migrations using the --migrate flag! Example: go run main.go --migrate or go build . && ./SponsorshipPortal --migrate (You have to have the correct database config/connection strings as environment variables).

Open questions:

Continues/will finish move to PostgreSQL (#44)

hackgbot commented 6 years ago

Hey y'all! A deployment of this PR can be found here: https://SponsorshipPortal-migration.pr.hack.gt

illegalprime commented 6 years ago

How does this work when we're migrating from tiedot to postgres?

bunsenmcdubbs commented 6 years ago

@illegalprime This is essentially a regression (technically #55 was the regression). tiedot (and any persistence) has been completely removed and we are re-implementing that functionality with postgres here

bunsenmcdubbs commented 6 years ago

Waiting for HackGT/biodomes#16 to be merged and deployed before wants: postgres stanza is supported.