mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
1) Created components for statistic reporting. 2) Database changes and PROC/Function creations. Still need to make MOST VIEWED LIBRARIES/CLIENTS/ MOST ACTIVE USERS dynamically load with date range (Function Creation on DB side)
13 lines
266 B
SQL
13 lines
266 B
SQL
-- Database: jfstat
|
|
|
|
-- DROP DATABASE IF EXISTS jfstat;
|
|
|
|
CREATE DATABASE jfstat
|
|
WITH
|
|
OWNER = jfstat
|
|
ENCODING = 'UTF8'
|
|
LC_COLLATE = 'en_US.utf8'
|
|
LC_CTYPE = 'en_US.utf8'
|
|
TABLESPACE = pg_default
|
|
CONNECTION LIMIT = -1
|
|
IS_TEMPLATE = False; |