]> git.rm.cloudns.org Git - xonotic/xonstatdb.git/commitdiff
Allow up to 128 characters in the player nick
authorAnt Zucaro <azucaro@gmail.com>
Mon, 17 Oct 2011 15:25:04 +0000 (11:25 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 17 Oct 2011 15:25:04 +0000 (11:25 -0400)
tables/player_game_stats.tab
tables/player_nicks.tab
tables/players.tab

index 840520fd039f17ea329e5e72d6ca3d1f661134e0..947e0723333b9ba50bc4057eb6f2ca890e287497 100644 (file)
@@ -3,7 +3,7 @@ CREATE TABLE xonstat.player_game_stats
   player_game_stat_id bigserial NOT NULL,
   player_id integer NOT NULL,
   game_id bigint NOT NULL,
-  nick character varying(64),
+  nick character varying(128),
   team integer,
   "rank" integer,
   alivetime interval,
index 7e7ed6f0135849a3cf34dc7451c881d8add92a30..d80c8dd242c4d19ffcfb0c809479fc1271abd523 100644 (file)
@@ -1,8 +1,8 @@
 CREATE TABLE xonstat.player_nicks
 (
   player_id integer NOT NULL,
-  stripped_nick character varying(64) NOT NULL,
-  nick character varying(64) 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(),
   CONSTRAINT player_nicks_pk PRIMARY KEY (player_id, stripped_nick),
   CONSTRAINT player_nicks_fk01 FOREIGN KEY (player_id)
index ec984863695caf071be8d5172d94a74bf961e295..4e4e2d452f4c41dbc10b836275a7eb20d69cae42 100644 (file)
@@ -1,7 +1,7 @@
 CREATE TABLE xonstat.players
 (
   player_id serial NOT NULL,
-  nick character varying(64),
+  nick character varying(128),
   "location" character varying(100),
   create_dt timestamp without time zone NOT NULL DEFAULT now(),
   CONSTRAINT players_pk PRIMARY KEY (player_id)