Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Created peep DB schema

- Table "peep" and index "peep_username"
  • Loading branch information...
commit 304bf4ce144b3bb2386c19812b0f81cb35bd3bd8 1 parent 89c9bd9
@weierophinney authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 data/schema.sqlite.sql
View
11 data/schema.sqlite.sql
@@ -0,0 +1,11 @@
+CREATE TABLE peep
+(
+ identifier CHARACTER(8) PRIMARY KEY NOT NULL,
+ username VARCHAR(255) NOT NULL,
+ email VARCHAR(255) NOT NULL,
+ display_name VARCHAR(50) DEFAULT NULL,
+ timestamp INTEGER NOT NULL,
+ peep_text TEXT NOT NULL
+);
+
+CREATE INDEX peep_username ON peep(username);
Please sign in to comment.
Something went wrong with that request. Please try again.