GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — OOP2-Capstone/initial database.sql at main · coding-chez/OOP2-Capstone Expand file tree/ Copy pathinitial database.sqlMore file actions 35 lines (31 loc) · 904 Bytes / Copy pathinitial database.sqlFile metadata and controls35 lines (31 loc) · 904 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 --players CREATE TABLE players ( player_id INT AUTO_INCREMENT PRIMARY KEY, player_name VARCHAR(50) NOT NULL, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); --scores CREATE TABLE scores ( score_id INT AUTO_INCREMENT PRIMARY KEY, player_name VARCHAR(50) NOT NULL, points INT NOT NULL, duration_seconds INT DEFAULT 60, defeated_enemy BOOLEAN DEFAULT FALSE, recorded_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); --words_used CREATE TABLE words_used ( word_id INT AUTO_INCREMENT PRIMARY KEY, score_id INT, word_text VARCHAR(100) NOT NULL, correct BOOLEAN, timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (score_id) REFERENCES scores(score_id) ON DELETE CASCADE ); --enemies CREATE TABLE enemies ( enemy_id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50) NOT NULL, max_hp INT NOT NULL, difficulty_level VARCHAR(20) ); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |