diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-01-05 00:12:06 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-01-05 00:12:06 +0000 |
commit | 84481dd3b42159428cd48ba67f811ed24deb6ed0 (patch) | |
tree | 0ddcca39ddd27976c9bd2e1820bccd87bf4d6547 /activerecord/test/fixtures | |
parent | 8219db5ee25342ae53bfdcc511b00058121ebb42 (diff) | |
download | rails-84481dd3b42159428cd48ba67f811ed24deb6ed0.tar.gz rails-84481dd3b42159428cd48ba67f811ed24deb6ed0.tar.bz2 rails-84481dd3b42159428cd48ba67f811ed24deb6ed0.zip |
Sybase adapter fixes. Closes #6926 [jsheets]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/sybase.drop.sql | 1 | ||||
-rw-r--r-- | activerecord/test/fixtures/db_definitions/sybase.sql | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/db_definitions/sybase.drop.sql b/activerecord/test/fixtures/db_definitions/sybase.drop.sql index fa51eefeeb..ebf2fc9736 100644 --- a/activerecord/test/fixtures/db_definitions/sybase.drop.sql +++ b/activerecord/test/fixtures/db_definitions/sybase.drop.sql @@ -29,4 +29,5 @@ DROP TABLE fk_test_has_pk DROP TABLE keyboards DROP TABLE legacy_things DROP TABLE numeric_data +DROP TABLE schema_info go diff --git a/activerecord/test/fixtures/db_definitions/sybase.sql b/activerecord/test/fixtures/db_definitions/sybase.sql index 79c7b940b5..8544a4150e 100644 --- a/activerecord/test/fixtures/db_definitions/sybase.sql +++ b/activerecord/test/fixtures/db_definitions/sybase.sql @@ -197,12 +197,12 @@ CREATE TABLE keyboards ( CREATE TABLE legacy_things ( id numeric(9,0) IDENTITY PRIMARY KEY, tps_report_number int default NULL, - version int default 0, + version int default 0 ) CREATE TABLE numeric_data ( - id numeric((9,0) IDENTITY PRIMARY KEY, + id numeric(9,0) IDENTITY PRIMARY KEY, bank_balance numeric(10,2), big_bank_balance numeric(15,2), world_population numeric(10), |