remove use of 1.6.4-compatible 'wrapper'
[gae-samples.git] / sql-guestbook / guestbook.sql
blob6a2221da80926add5c7ebad6fdfc100d4d02d599
1 -- Copyright 2011 Google Inc. All rights reserved.
2 -- 
3 -- MySQL schema for the sql-guestbook sample app. After you've created a Cloud
4 -- SQL instance, run these statements in your instance's SQL Prompt tab:
5 -- https://code.google.com/apis/console/
7 CREATE DATABASE IF NOT EXISTS guestbook;
9 -- Now select guestbook from the database drop-down next to the Execute button.
10 -- Or, for a local MySQL database used by the App Engine SDK, run:
11 -- USE guestbook;
13 CREATE TABLE IF NOT EXISTS Greetings (
14   id INT NOT NULL AUTO_INCREMENT,
15   author VARCHAR(32),
16   date TIMESTAMP,
17   content VARCHAR(512),
18   PRIMARY KEY(id),
19   KEY(date DESC)
20 ) ENGINE=InnoDB;