diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-11 00:24:19 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-11 00:24:19 +0000 |
commit | 79365a0184c58def99aff4c4b213048a25179f6a (patch) | |
tree | 2a33951d6e17d9a2869da4aa6eb728a71092ff5a /activerecord/test/fixtures/db_definitions/db2.sql | |
parent | bcb81167960293596d44587ea237ace4d505b960 (diff) | |
download | rails-79365a0184c58def99aff4c4b213048a25179f6a.tar.gz rails-79365a0184c58def99aff4c4b213048a25179f6a.tar.bz2 rails-79365a0184c58def99aff4c4b213048a25179f6a.zip |
Fixed that foreign keys named the same as the association would cause stack overflow #437 [Eric Anderson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/db2.sql')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/db2.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/db2.sql b/activerecord/test/fixtures/db_definitions/db2.sql index 7b98f2fa5a..033efcb088 100644 --- a/activerecord/test/fixtures/db_definitions/db2.sql +++ b/activerecord/test/fixtures/db_definitions/db2.sql @@ -122,3 +122,8 @@ CREATE TABLE binaries ( data blob(50000), PRIMARY KEY (id) ); + +CREATE TABLE computers ( + id int generated by default as identity (start with +10000), + developer int NOT NULL +); |