aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/db_definitions/db2.sql
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-02-28 04:23:44 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-02-28 04:23:44 +0000
commitb56cac56dd0e8c38a5725490a86f05cb77aee6ca (patch)
tree30cfc577cc7af397395b6486e1217a6d34d772d9 /activerecord/test/fixtures/db_definitions/db2.sql
parent1383d1c3b981972723050aeeced26e942f036716 (diff)
downloadrails-b56cac56dd0e8c38a5725490a86f05cb77aee6ca.tar.gz
rails-b56cac56dd0e8c38a5725490a86f05cb77aee6ca.tar.bz2
rails-b56cac56dd0e8c38a5725490a86f05cb77aee6ca.zip
Added new column to all db definitions. Where, oh where, is our hereo that will convert all the legacy fixture schemas to schema.rb? (closes #3993) [Bob Silva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/db2.sql')
-rw-r--r--activerecord/test/fixtures/db_definitions/db2.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/db2.sql b/activerecord/test/fixtures/db_definitions/db2.sql
index d570f925e9..2f67e9ce53 100644
--- a/activerecord/test/fixtures/db_definitions/db2.sql
+++ b/activerecord/test/fixtures/db_definitions/db2.sql
@@ -5,6 +5,12 @@ CREATE TABLE accounts (
PRIMARY KEY (id)
);
+CREATE TABLE funny_jokes (
+ id INT GENERATED BY DEFAULT AS IDENTITY (START WITH 10000),
+ name VARCHAR(50) DEFAULT NULL,
+ PRIMARY KEY (id)
+);
+
CREATE TABLE companies (
id INT GENERATED BY DEFAULT AS IDENTITY (START WITH 10000),
type VARCHAR(50) DEFAULT NULL,