aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't need to use delete in the options hashRafael Mendonça França2012-07-031-1/+1
|
* Refactor references schema definitionsAleksey Magusev2012-07-031-18/+12
|
* Integer limit out of range should be allowed to raise. Closes #6272Erich Menge2012-05-161-1/+1
|
* remove unnecessary 'examples' noise [ci skip]Vijay Dev2012-05-111-13/+11
|
* Refactored remove_columnEdgars Beigarts2012-05-021-1/+1
|
* Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-141-4/+20
|
* Add documentation for IndexDefinition.Waseem Ahmad2012-03-021-0/+3
|
* Made schema dumper recognize partial indices' where statementsMarcelo Silveira2012-02-091-1/+1
|
* fix commentsVijay Dev2011-12-091-4/+2
|
* Use a hash to look up column definitionsAaron Patterson2011-12-071-2/+3
|
* try to normalize the objects passed to column()Aaron Patterson2011-12-071-9/+11
|
* automatically add the column definition to the columns list if creating a ↵Aaron Patterson2011-12-071-12/+21
| | | | new one
* stop calling String#to_s so frequentlyAaron Patterson2011-12-071-3/+4
|
* self.up, self.down => up, downAkira Matsuda2011-11-071-3/+2
|
* AR changes to support creating ordered (asc, desc) indexesVlad Jebelev2011-11-041-1/+1
|
* Default timestamps to non-nullMike Perham2011-10-141-1/+1
|
* Changed the default value for the options argument on ↵Grant Neufeld2011-06-181-1/+1
| | | | | | | ActiveRecord::ConnectionAdapters::Table#column_exists? from nil to an empty Hash {}. That method calls through to ActiveRecord::ConnectionAdapters::SchemaStatements##column_exists? expects options to be a Hash. When options was nil, an error would occur in cases where the column did exist because the called method attempted to perform a key lookup on options.
* Update remove_index documentationLucia Escanellas2011-06-171-5/+5
| | | | | * Changes should better reflect present code behavior * Related to issue: https://github.com/rails/rails/issues/1624
* Fixes on schema_definitions docsSebastian Martinez2011-05-031-3/+3
|
* fixed-fonts on SchemaDefinitionsSebastian Martinez2011-05-021-3/+3
|
* moving AR::ConnectionAdapters::Column to its own fileAaron Patterson2011-02-011-263/+0
|
* column will use coder to typecase value when it is availableAaron Patterson2011-02-011-0/+2
|
* coders can be assigned to columnsAaron Patterson2011-02-011-1/+4
|
* dry up our case / when statementsAaron Patterson2011-02-011-34/+31
|
* expand mulasgn for enhancing readabilityAaron Patterson2011-01-311-6/+9
|
* always return the identity function from type_cast_codeAaron Patterson2011-01-281-1/+1
|
* use an identity conversion to avoid conditional codesAaron Patterson2011-01-281-2/+2
|
* all columns respond to string_to_binary, so no need to check respond_to?Aaron Patterson2010-10-121-0/+9
|
* eliminating method_missing on TableDefinitionAaron Patterson2010-09-291-14/+6
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-3/+3
| | | | 's/[ \t]*$//' -i {} \;)
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-1/+1
| | | | This will hopefully make Active Record run a bit more faster.
* standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
|
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-4/+6
|
* Add column and index query methods to ActiveRecord::SchemaAndrew White2010-06-261-0/+10
| | | | | | [#4219 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Better code formatting and proper line numbers for stack tracesNeeraj Singh2010-05-141-2/+2
| | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "Revert "Add index length support for MySQL [#1852 state:open]""Pratik Naik2010-05-091-1/+1
| | | | This reverts commit 6626833db13a69786f9f6cd56b9f53c4017c3e39.
* Revert "Add index length support for MySQL [#1852 state:open]"José Valim2010-05-081-1/+1
| | | | | | | | | | | | | This commit breaks dumping a few tables, as the sessions table. To reproduce, just create a new application and: rake db:sessions:create rake db:migrate rake db:test:prepare And then look at the db/schema.rb file (ht: Sam Ruby). This reverts commit 5b95730edc33ee97f53da26a3868eb983305a771.
* Add index length support for MySQL [#1852 state:resolved]Emili Parreno2010-05-081-1/+1
| | | | | | | | | | | | Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix mapping of bigint/smallint/uuid columns in postgresql adapter.Ernie Miller2010-03-311-1/+2
| | | | Signed-off-by: Emilio Tagua <miloops@gmail.com>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
|
* Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app.José Valim2010-03-271-4/+4
| | | | | | To reproduce, start a new application, create a scaffold and run test suite. [#876 state:open] This reverts commit faeca694b3d4afebf6b623b493e86731e773c462.
* primary_key now supports :limit for MySQLRizwan Reza2010-03-271-4/+4
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Revert "primary_key now supports :limit. [#876 state:resolved]" since it ↵José Valim2010-03-271-4/+4
| | | | | | broke AR test suite. This reverts commit 41e5c7ed44fedb95636ef9b7a792c46ea03309bd.
* primary_key now supports :limit. [#876 state:resolved]Rizwan Reza2010-03-271-4/+4
| | | | Signed-off-by: wycats <wycats@gmail.com>
* ActiveRecord should raise an error on invalid migration types.José Valim2010-02-281-4/+7
|
* Revert "Fix #microseconds conversion and #fast_string_to_time"Pratik Naik2010-01-171-7/+6
| | | | This reverts commit 717a2941e15b32d07cc456bb0d81742ecfc5b4a3. Bunch of failures when running postgresql tests.
* Fix #microseconds conversion and #fast_string_to_timeChris Hapgood2010-01-161-6/+7
| | | | | | | | * Use direct integer parsing in #fast_string_to_time to avoid convoluted conversions and errors due to truncation. * Use Float#round in #microseconds to avoid truncation errors. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* PostgreSQL: XML datatype supportLeonardo Borges2009-08-091-0/+15
| | | | | | [#1874 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9.2 compat: Array#* uses to_str instead of to_s to join values since ↵Akira Matsuda2009-08-051-2/+1
| | | | | | | | Ruby 1.9.2 [#2959 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "fallback_string_to_date sets Date._parse comp arg to true, so that ↵Geoff Buesing2009-08-051-1/+1
| | | | | | strings with two-digit years, e.g. '1/1/09', are interpreted as modern years" [#2019 state:wontfix] This reverts commit 55d1d12c32a1b99f3f07d2346b49a63650ba2e9d.