aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/db_definitions/mysql.sql
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-07 06:20:54 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-07 06:20:54 +0000
commitbd9a81ca2d34562a140dfe9a6cfecf969a01042c (patch)
tree966266871e2714aef19a4ebab8f639f5f6421a01 /activerecord/test/fixtures/db_definitions/mysql.sql
parent38a0b5b427371b53c0d0f159cf5b3806f16aab30 (diff)
downloadrails-bd9a81ca2d34562a140dfe9a6cfecf969a01042c.tar.gz
rails-bd9a81ca2d34562a140dfe9a6cfecf969a01042c.tar.bz2
rails-bd9a81ca2d34562a140dfe9a6cfecf969a01042c.zip
Moved to new server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/mysql.sql')
-rwxr-xr-xactiverecord/test/fixtures/db_definitions/mysql.sql18
1 files changed, 18 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/mysql.sql b/activerecord/test/fixtures/db_definitions/mysql.sql
index ca61159b74..8c919ff4ca 100755
--- a/activerecord/test/fixtures/db_definitions/mysql.sql
+++ b/activerecord/test/fixtures/db_definitions/mysql.sql
@@ -129,3 +129,21 @@ CREATE TABLE `computers` (
`developer` INTEGER NOT NULL
) TYPE=InnoDB;
+CREATE TABLE `posts` (
+ `id` INTEGER NOT NULL PRIMARY KEY,
+ `author_id` INTEGER NOT NULL,
+ `title` VARCHAR(255) NOT NULL,
+ `body` TEXT NOT NULL
+) TYPE=InnoDB;
+
+CREATE TABLE `comments` (
+ `id` INTEGER NOT NULL PRIMARY KEY,
+ `post_id` INTEGER NOT NULL,
+ `body` TEXT NOT NULL
+) TYPE=InnoDB;
+
+CREATE TABLE `authors` (
+ `id` INTEGER NOT NULL PRIMARY KEY,
+ `name` VARCHAR(255) NOT NULL
+) TYPE=InnoDB;
+