Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add /report endpoint #762

Merged
merged 4 commits into from
May 4, 2016
Merged

Add /report endpoint #762

merged 4 commits into from
May 4, 2016

Conversation

erikjohnston
Copy link
Member

No description provided.

*/


CREATE TABLE event_reports(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a timestamp and an incrementing ID might be useful here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@NegativeMjark
Copy link
Contributor

Other than adding an incrementing ID so the schema can be updated incrementally. LGTM

@erikjohnston
Copy link
Member Author

@NegativeMjark Like so?

@@ -15,6 +15,8 @@


CREATE TABLE event_reports(
id BIGINT NOT NULL,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make the id a primary key?

@NegativeMjark
Copy link
Contributor

LGTM.

We might want to only allow one report per event per reporter. but like so much else with this PR it can probably wait until later.

@erikjohnston erikjohnston merged commit 97b9141 into develop May 4, 2016
@richvdh richvdh deleted the erikj/report_event branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants