Marcel Molina
|
9c5591da2d
|
Preserve MySQL boolean column defaults when changing a column in a migration. Closes #5015. [pdcawley@bofh.org.uk]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-14 18:37:22 +00:00 |
|
Jeremy Kemper
|
f9f65433ef
|
Wipe those tears.. References [4335].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-12 05:15:17 +00:00 |
|
Jeremy Kemper
|
491b4a3c84
|
PostgreSQL: migrations support :limit with :integer columns by mapping limit < 4 to smallint, > 4 to bigint, and anything else to integer. Closes #2900.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-12 03:59:43 +00:00 |
|
Marcel Molina
|
b2c0ddf033
|
Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-27 22:39:45 +00:00 |
|
Rick Olson
|
2cbb5fb176
|
Properly quote index names in migrations (closes #4764) [John Long]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-20 02:41:05 +00:00 |
|
David Heinemeier Hansson
|
949bf2937a
|
Get the green light for Oracle AR unit tests (closes #4573) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-04 16:33:31 +00:00 |
|
David Heinemeier Hansson
|
5b63c84307
|
Fixed db_schema_import when binary types are present (closes #3101) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-25 23:09:52 +00:00 |
|
David Heinemeier Hansson
|
ea617708c2
|
Added migrations support to the Sybase adapter (closes #4293) [John R. Sheets]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-18 03:02:32 +00:00 |
|
Jamis Buck
|
c0fb67c0f8
|
Make migrations verbose
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 18:46:51 +00:00 |
|
David Heinemeier Hansson
|
631181ca18
|
Renamed the "oci" adapter to "oracle", but kept the old name as an alias (closes #4017) [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:01:53 +00:00 |
|
Scott Barron
|
88bb279df7
|
Fix change_column to work with postgres 7.x and 8.x.
Closes #3141
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-20 21:43:47 +00:00 |
|
Jeremy Kemper
|
7c8f3edc99
|
r4325@asus: jeremy | 2005-11-12 03:57:46 -0800
PostgreSQL: correctly discover custom primary key sequences. PostgreSQL: smarter sequence name defaults, stricter last_insert_id, warn on pk without sequence. Base.reset_sequence_name analogous to reset_table_name (mostly useful for testing). Base.define_attr_method allows nil values. References #2594.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-12 11:59:54 +00:00 |
|
Florian Weber
|
d5859d0b17
|
Added that an DuplicateMigrationVersionError gets raised when multiple migrations have the same version number.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-31 15:43:02 +00:00 |
|
David Heinemeier Hansson
|
68160b3485
|
Added migration support for Oracle (closes #2647) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 18:40:49 +00:00 |
|
David Heinemeier Hansson
|
816f37a2ad
|
Added migration support to SQL Server adapter (please someone do the same for Oracle and DB2) (closes #2625) [Tom Ward]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-28 07:40:28 +00:00 |
|
Jamis Buck
|
06303ed34e
|
Allow symbols to rename columns when using SQLite adapter. #2531 [kevin.clark@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-25 19:28:53 +00:00 |
|
Marcel Molina
|
d736568f41
|
Speed up the setting of table_name. Closes #2428.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-10 18:59:56 +00:00 |
|
Tobias Lütke
|
ebfddf35b9
|
Add rename_table to mysql, sqlite and postgres adapters for use in migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-06 14:10:45 +00:00 |
|
Marcel Molina
|
f43d97a860
|
Add failing test that shows that AR::Migration.remove_column fails silently with SQLite when passed arguments as symbols.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-28 17:50:28 +00:00 |
|
Marcel Molina
|
1465f9cee2
|
Make migrations honor table name prefixes and suffixes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-26 21:30:12 +00:00 |
|
Jamis Buck
|
ea65465422
|
Standardize the interpretation of boolean columns in the Mysql and Sqlite adapters. (Use MysqlAdapter.emulate_booleans = false to disable this behavior)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-25 15:49:35 +00:00 |
|
Jamis Buck
|
6d4a4a0d2e
|
Make sqlite adapter pass all tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-23 15:00:56 +00:00 |
|
Jamis Buck
|
7dc45818dc
|
Add ActiveRecord::SchemaDumper for dumping a DB schema to a pure-ruby file, making it easier to consolidate large migration lists and port database schemas between databases.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-23 13:29:33 +00:00 |
|
Jamis Buck
|
da874a4af8
|
Allow add_column and create_table to specify NOT NULL #1712 [emptysands@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-30 10:16:21 +00:00 |
|
Jamis Buck
|
369d054338
|
Fix create_table so that id column is implicitly added [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-27 17:06:22 +00:00 |
|
David Heinemeier Hansson
|
47a3bafe26
|
Added a VERSION parameter to the migrate task that allows you to do "rake migrate VERSION=34" to migrate to the 34th version traveling up or down depending on the current version. Added ActiveRecord::Migrator.migrate that can figure out whether to go up or down based on the target version and the current
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-09 15:46:29 +00:00 |
|
David Heinemeier Hansson
|
0bef168238
|
Made default changes work in both postgresql and mysql #1612 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-05 09:16:23 +00:00 |
|
David Heinemeier Hansson
|
f1880cac58
|
Sugared up migrations with even more bling #1609 [Tobias Luekte]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-05 07:19:20 +00:00 |
|
David Heinemeier Hansson
|
4160b518a8
|
Added new Migrations framework for describing schema transformations in a way that can be easily applied across multiple databases #1604 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-04 18:51:02 +00:00 |
|