achievement_id serial NOT NULL,
achievement_cd integer NOT NULL,
player_id integer NOT NULL,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT achievements_pk PRIMARY KEY (achievement_id),
CONSTRAINT achievements_fk001 FOREIGN KEY (achievement_cd)
REFERENCES xonstat.cd_achievement (achievement_cd) MATCH SIMPLE
(
"version" character varying(15) NOT NULL,
descr character varying(100) NOT NULL,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT db_version_pk PRIMARY KEY (version)
)
WITH (
map_id integer NOT NULL,
duration interval,
winner integer,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT games_pk PRIMARY KEY (game_id),
CONSTRAINT games_fk001 FOREIGN KEY (game_type_cd)
REFERENCES xonstat.cd_game_type (game_type_cd) MATCH SIMPLE
player_id integer NOT NULL,
hashkey character varying(44) NOT NULL,
active_ind boolean NOT NULL DEFAULT true,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT hashkeys_pk PRIMARY KEY (player_id, hashkey),
CONSTRAINT hashkeys_fk001 FOREIGN KEY (player_id)
REFERENCES xonstat.players (player_id) MATCH SIMPLE
"version" integer NOT NULL DEFAULT 1,
pk3_name character varying(100),
curl_url character varying(300),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT maps_pk PRIMARY KEY (map_id)
)
WITH (
player_id integer NOT NULL,
stripped_nick character varying(128) NOT NULL,
nick character varying(128) NOT NULL,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT player_nicks_pk PRIMARY KEY (player_id, stripped_nick),
CONSTRAINT player_nicks_fk01 FOREIGN KEY (player_id)
REFERENCES xonstat.players (player_id) MATCH SIMPLE
hit integer NOT NULL default 0,
fired integer NOT NULL default 0,
frags integer NOT NULL default 0,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT player_weapon_stats_pk PRIMARY KEY (player_weapon_stats_id),
CONSTRAINT player_weapon_stats_fk001 FOREIGN KEY (player_id)
REFERENCES xonstat.players (player_id) MATCH SIMPLE
nick character varying(128),
stripped_nick character varying(128),
"location" character varying(100),
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT players_pk PRIMARY KEY (player_id)
)
WITH (
revision character varying(50),
pure_ind boolean NOT NULL DEFAULT true,
active_ind boolean NOT NULL DEFAULT true,
- create_dt timestamp without time zone NOT NULL DEFAULT now(),
+ create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
CONSTRAINT servers_pk PRIMARY KEY (server_id)
)
WITH (