]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Use the plain JSON type, not JSONB due to PG9.3.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 17 Oct 2017 00:02:45 +0000 (20:02 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 17 Oct 2017 00:02:45 +0000 (20:02 -0400)
tables/player_game_frag_matrix.tab

index fd302dc27a7dec7d4290ca49351c28c04654e323..cf309cd36270ba64bc9cd50574031f080d2198cb 100755 (executable)
@@ -4,7 +4,7 @@ CREATE TABLE xonstat.player_game_frag_matrix
   player_game_stat_id bigint NOT NULL,
   player_id integer NOT NULL,
   player_index smallint NOT NULL,
-  matrix jsonb NOT NULL,
+  matrix json NOT NULL,
   create_dt timestamp without time zone NOT NULL DEFAULT (current_timestamp at time zone 'UTC'),
   CONSTRAINT player_game_frag_matrix_pk PRIMARY KEY (game_id, player_game_stat_id),
   CONSTRAINT player_game_frag_matrix_fk001 FOREIGN KEY (game_id)