kennygrant / gohackernews

Golang News - curated links about the Go programming language
https://golangnews.com
MIT License
282 stars 42 forks source link

Can't run using MySQL #20

Closed ariestiyansyah closed 7 years ago

ariestiyansyah commented 7 years ago

Can you share the schema if using mysql database?

appreciate it.

kennygrant commented 7 years ago

I've been using psql, it's been a while since I used mysql, however hopefully the sql supplied in https://github.com/kennygrant/gohackernews/blob/master/db/migrate/Create-Tables.sql.tmpl works for you? If not let me know what problem you see when executing it with mysql.

kennygrant commented 7 years ago

Closing as I think the scheme above should be enough (with the 2.0 migration as well), let me know if you see problems though.