aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/schema.rb
Commit message (Collapse)AuthorAgeFilesLines
* Dump schema using new style hashKonstantin Shabanov2012-09-081-4/+4
|
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|
* Call methods on the correct instance in AR::Schema.defineJohn Firebaugh2012-05-161-7/+10
| | | | | Now that migrations support instance methods, we should use the same instance rather than relying on delegation to a global instance. This allows subclassing AR::Schema.
* Allow to run migrations from more than one directoryPiotr Sarnacki2010-12-091-3/+3
|
* rolling out migrated_at until I can fix the buildAaron Patterson2010-12-011-15/+4
|
* tests mostly passJosh Susser2010-12-011-1/+1
| | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me!
* clear schema_migrations in Schema.defineJosh Susser2010-12-011-1/+3
|
* name in schema_migrations, migrations in schema dumpJosh Susser2010-12-011-4/+13
|
* schema migrations work as instancesAaron Patterson2010-11-171-2/+3
|
* converted migrations to support instance methodsAaron Patterson2010-11-171-4/+2
|
* fixing whitespace errorsAaron Patterson2010-08-051-1/+1
|
* Adds title where needed.Rizwan Reza2010-06-161-0/+2
|
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
|
* Allow AR::Schema's migrations_path to be overwritten by subclasses. Defaults ↵Jeffrey Hardy2010-01-081-1/+5
| | | | | | | | to 'db/migrate' [#3671 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge docrails.Pratik Naik2008-05-251-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add support for interleaving migrations by storing which migrations have run ↵Rick Olson2008-04-091-12/+5
| | | | | | 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
* Update Schema documentation to use updated sexy migration notation. Closes ↵Marcel Molina2007-11-061-5/+5
| | | | | | #10086 [sjgman9] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Makes ActiveRecord::Schema respect AR::Base.table_name_prefix (closes #3848) ↵David Heinemeier Hansson2006-02-251-2/+2
| | | | | | [rubyonrails@atyp.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the Oracle OCI Adapter with better performance for column ↵David Heinemeier Hansson2006-02-211-1/+1
| | | | | | reflection (from #3210), fixes to migrations (from #3476 and #3742), tweaks to unit tests (from #3610), and improved documentation (from #2446) (closes #3879) [Aggregated by schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update/clean up ActiveRecord documentation (rdoc)Jamis Buck2005-10-161-1/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored the AbstractAdapter to be a lot less scary. Cleaned up the docs ↵David Heinemeier Hansson2005-09-251-1/+2
| | | | | | and style for the OSS adapters git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just include activerecord/schema with AR so it doesnt need to be dumpedDavid Heinemeier Hansson2005-09-241-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveRecord::SchemaDumper for dumping a DB schema to a pure-ruby file, ↵Jamis Buck2005-09-231-0/+23
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