]> Dogcows Code - chaz/chatty/blobdiff - db/schema.sql
add comet support for real-time chatting
[chaz/chatty] / db / schema.sql
index 536b1f372cf74467248dd1c573a2f289676146b8..dfd06e3dafb911a794e4c48382ead1357ad657ba 100644 (file)
@@ -15,14 +15,3 @@ CREATE TABLE account (
        current_room    INTEGER REFERENCES room(id)
 );
 
-CREATE TABLE message (
-       id              INTEGER PRIMARY KEY,
-       posted          TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
-       author          INTEGER REFERENCES account(id),
-       room            INTEGER REFERENCES room(id),
-       content         TEXT
-);
-
-INSERT INTO account (username, password) VALUES ('chaz', 'mypass');
-INSERT INTO account (username, password) VALUES ('jdoe', 'foobar');
-
This page took 0.016914 seconds and 4 git commands to generate.