Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for events related to church #2

Open
Ainali opened this issue Oct 26, 2016 · 3 comments
Open

Add support for events related to church #2

Ainali opened this issue Oct 26, 2016 · 3 comments

Comments

@Ainali
Copy link
Contributor

Ainali commented Oct 26, 2016

To make the timeline feature available we will need to be able to store events related to a church. The table should have at least: id for the church, event type, start time, end time. It could possibly also have description text, image which could be fetched from associated wikidata object and wikipedia article (if any).

@Abbe98
Copy link
Member

Abbe98 commented Oct 26, 2016

I'm considering doing this in just another column and have it stored in JSON there as we would probably want to load all events for a church at the same time anyway(and SQLite is quite slow).

@Ainali
Copy link
Contributor Author

Ainali commented Oct 26, 2016

So you would rather have multiple lines for each church in the main table? Hopefully, later on, we can have more than 20 events for each church.

@Abbe98
Copy link
Member

Abbe98 commented Oct 26, 2016

I would introduce a new events column and add pregenerated JSON there representing all the events for the specific church.

@Ainali Ainali changed the title Add table for events related to church Add support for events related to church Oct 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants