Request id is now passed as body param. Database default timestamp value changed to epoch time.

This commit is contained in:
2018-11-09 22:13:00 +01:00
parent 0ac17d3d0a
commit 91d238de7c
3 changed files with 8 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ CREATE TABLE IF NOT EXISTS request(
title text not null,
year int not null,
type char(10) not null,
date default current_timestamp
date timestamp default (strftime('%s', 'now'))
);