mozilla-services / megaphone

Firefox Global Broadcast API
Mozilla Public License 2.0
38 stars 12 forks source link

feat: switch REPLACE INTO -> INSERT ON DUPLICATE KEY UPDATE #23

Closed pjenvey closed 6 years ago

pjenvey commented 6 years ago

diesel refuses to support the latter due to its many gotchas but for our simple setup it's nicer than REPLACE INTO

also:

o switch POST -> PUT and return 201 when newly created o force binding to all interfaces for deploym

Closes #19

pjenvey commented 6 years ago

heh, and you changed it to credentials.

of course, right? Actually I had changed this to auth_header originally, then that discussion made me notice I'd lost half of the change in some mismanaged git stash handling =]