games.sql 553 B

123456789101112131415161718
  1. -- ---------------------------
  2. -- Table structure for games
  3. -- ---------------------------
  4. CREATE TABLE IF NOT EXISTS games (
  5. id INT NOT NULL default 0,
  6. idnr INT NOT NULL default 0,
  7. number1 INT NOT NULL default 0,
  8. number2 INT NOT NULL default 0,
  9. prize INT NOT NULL default 0,
  10. newprize INT NOT NULL default 0,
  11. prize1 INT NOT NULL default 0,
  12. prize2 INT NOT NULL default 0,
  13. prize3 INT NOT NULL default 0,
  14. enddate decimal(20,0) NOT NULL default 0,
  15. finished INT NOT NULL default 0,
  16. PRIMARY KEY (`id`,`idnr`)
  17. );