Skip to content
Browse files

leaderboard added to SQL

  • Loading branch information...
1 parent c7c62b4 commit dadd463d40023813ee8f2eb129c5856f908d8e0c @barbie committed Jun 30, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 examples/cpanstats.sql
View
11 examples/cpanstats.sql
@@ -91,3 +91,14 @@ CREATE TABLE osname (
PRIMARY KEY (id)
);
+DROP TABLE IF EXISTS leaderboard;
+CREATE TABLE leaderboard (
+ postdate varchar(8) NOT NULL,
+ osname varchar(255) NOT NULL,
+ tester varchar(255) NOT NULL,
+ score int(10) DEFAULT 0,
+ PRIMARY KEY (postdate,osname,tester),
+ KEY IXOS (osname),
+ KEY IXTEST (tester)
+);
+

0 comments on commit dadd463

Please sign in to comment.
Something went wrong with that request. Please try again.