Closed zipperer closed 5 months ago
At first I will go directly from
So, in the case where there is no restart at 12am, will still write new file b/c will write as csv.
Note on filename_date
:
Current version uses entry_timestamp
to determine this date rather than extracting the date from the filename.
Better name for that column, given how current version determines it, is entry_date
.
postgres=# CREATE TABLE bible_display_app_file_entries_with_morning_or_night (
postgres(# filename VARCHAR NOT NULL,
postgres(# entry_date DATE NOT NULL,
postgres(# morning_or_night VARCHAR NOT NULL,
postgres(# entry_timestamp TIMESTAMP NOT NULL,
postgres(# book VARCHAR NOT NULL,
postgres(# chapter VARCHAR NOT NULL,
postgres(# verse VARCHAR NOT NULL);
I perform initial experiment and tests with this commit
See this comment.
Copied below:
To get a table like this I propose: