aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/schema_dumper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* PostgreSQL: XML datatype supportLeonardo Borges2009-08-091-1/+11
| | | | | | [#1874 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Don't define a default primary key in the schema dumper.Tristan Dunn2009-08-081-0/+8
| | | | | | [#1908 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* fix schema_dumper_test for Oracle as it supports precision up to 38Raimonds Simanovskis2009-08-061-1/+6
|
* Oracle can store integers with any :limitRaimonds Simanovskis2009-08-061-0/+5
|
* Add support for dumping non-standard primary keys when using the SQLite3 ↵Hongli Lai (Phusion)2009-07-071-7/+7
| | | | | | adapter. Fix unit tests so that this feature is tested for all adapters. [#2868 state:resolved] Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local>
* Schema dumper now records scale 0 decimal columns as decimal not integer.Giles Alexander2009-06-011-0/+5
| | | | | | | | | | The schema dumper would dump out any decimal or numeric column that had a zero scale as an integer column. This will cause problems for very large precision columns on some DBMSs, particularly PostgreSQL. It also looks strange to see your column change type after moving through schema.rb. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2741 state:committed]
* Fixed dumping from postgresql columns in index in wrong order. [#2515 ↵Max Lapshin2009-04-211-0/+5
| | | | | | state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
* Quote table names when casting to regclass so that capitalized tables are ↵Scott Woods2009-04-211-0/+5
| | | | | | supported. [#2418 state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
* Autoload ActiveRecord filesJoshua Peek2008-11-241-1/+0
|
* Test for tinyintJeremy Kemper2008-06-231-1/+1
|
* Always treat integer :limit as byte length. [#420 state:resolved]Tarmo Tänav2008-06-221-0/+46
|
* Added AbstractAdapter#table_exists? and made AbstractAdapter#table ↵Tarmo Tänav2008-05-071-107/+104
| | | | | | implementation non-optional Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Add support for interleaving migrations by storing which migrations have run ↵Rick Olson2008-04-091-3/+3
| | | | | | in the new schema_migrations table. Closes #11493 [jordi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the mysql schema dumper roundtrip the limits of text/blob columns. ↵Michael Koziarski2008-03-021-0/+12
| | | | | | Closes #7424 [will.bryant] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: omit text/blob defaults from the schema instead of using an empty ↵Jeremy Kemper2008-01-301-3/+1
| | | | | | string. Closes #10963. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix pathsJeremy Kemper2008-01-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move tests to casesJeremy Kemper2008-01-181-0/+131
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de