1. 22 7月, 2014 1 次提交
  2. 16 7月, 2014 1 次提交
  3. 18 6月, 2014 1 次提交
    • S
      Don't type cast the default on the column · 4d3e88fc
      Sean Griffin 提交于
      If we want to have type decorators mess with the attribute, but not the
      column, we need to stop type casting on the column. Where possible, we
      changed the tests to test the value of `column_defaults`, which is
      public API. `Column#default` is not.
      4d3e88fc
  4. 07 6月, 2014 1 次提交
  5. 05 6月, 2014 1 次提交
  6. 28 5月, 2014 1 次提交
  7. 27 5月, 2014 1 次提交
  8. 15 3月, 2014 1 次提交
  9. 16 1月, 2014 2 次提交
  10. 06 1月, 2014 1 次提交
  11. 14 12月, 2013 1 次提交
  12. 12 12月, 2013 1 次提交
  13. 16 11月, 2013 1 次提交
  14. 09 11月, 2013 1 次提交
  15. 08 11月, 2013 1 次提交
  16. 01 11月, 2013 1 次提交
  17. 27 10月, 2013 1 次提交
    • J
      added schema_migrations_table_name to ActiveRecord::Base in order that the... · 26638f0a
      Jerad Phelps 提交于
      added schema_migrations_table_name to ActiveRecord::Base in order that the name of the schema migrations table can be configured.
      
      consolidated test_schema_migrations_table_name tests
      
      Added changelog entry
      
      edited changelog
      
      removed commented lines
      
      removed reader
      
      ensure the schema migrations table is reset at end of test
      
      added entry to configuration guide
      
      guides typo and changelog order
      26638f0a
  18. 25 8月, 2013 1 次提交
  19. 23 8月, 2013 1 次提交
    • W
      Making proper_table_name take in options. · 8c5d62f7
      wangjohn 提交于
      The options will specify the prefix and the suffix. Also, I'm moving the
      method to be an instance method on the +Migration+ instance. This makes more
      sense than being a class method on the +Migrator+ class because the only
      place that uses it is on a +Migration+ instance (in a method_missing
      hook). The logic for the Migrator shouldn't be doing any work to
      calculate the table name, it should be the Migration itself.
      
      Also made some small indentation fixes.
      8c5d62f7
  20. 29 7月, 2013 1 次提交
  21. 28 7月, 2013 1 次提交
  22. 16 7月, 2013 1 次提交
  23. 05 6月, 2013 1 次提交
  24. 19 4月, 2013 1 次提交
  25. 18 4月, 2013 1 次提交
  26. 09 3月, 2013 1 次提交
  27. 08 3月, 2013 1 次提交
    • E
      If an index can't be found by column, use the index name. · b6226c3c
      Ezekiel Smithburg 提交于
      schema_statements uses the column name by default to construct the index name, and then raises an exception if it doesn't exist, even if the name option is specified, which causes #8858.  this commit makes index_name_for_remove fall back to constructing the index name to remove based on the name option.
      b6226c3c
  28. 05 3月, 2013 2 次提交
    • Y
      transactions can be turned off per Migration. · b3373908
      Yves Senn 提交于
      Closes #9483.
      
      There are SQL Queries that can't run inside a transaction. Since
      the Migrator used to wrap all Migrations inside a transaction there
      was no way to run these queries within a migration.
      
      This patch adds `self.disable_ddl_transaction!` to the migration to
      turn transactions off when necessary.
      b3373908
    • Y
      transactional migration test-case was broken. · f1241ef9
      Yves Senn 提交于
      The cleanup commit a85625da broke the test-case.
      The schema was no longer modified so there was no
      way to check that the rollback actually happened.
      f1241ef9
  29. 22 1月, 2013 2 次提交
  30. 07 1月, 2013 1 次提交
  31. 01 1月, 2013 1 次提交
  32. 10 12月, 2012 1 次提交
    • J
      Move to the schema-migrations-metadata branch. · cff747d3
      Jeremy Kemper 提交于
      Pending work on graceful app upgrades.
      
      Revert "Merge pull request #8439 from joshsusser/fixes"
      
      This reverts commit ce8ac393, reversing
      changes made to b0e7b6f6.
      
      Revert "Merge pull request #8431 from joshsusser/schemadump"
      
      This reverts commit 036d3e1c, reversing
      changes made to 0c692f4d.
      
      Revert "Merge branch 'joshsusser-master' into merge"
      
      This reverts commit 0c692f4d, reversing
      changes made to 2e299fca.
      
      Conflicts:
      	activerecord/CHANGELOG.md
      	activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
      	activerecord/test/cases/schema_dumper_test.rb
      cff747d3
  33. 07 12月, 2012 1 次提交
  34. 04 12月, 2012 1 次提交
  35. 02 12月, 2012 1 次提交
    • J
      Add metadata to schema_migrations · 0a5afa22
      Josh Susser 提交于
      migrated_at: timestamp when migration run
      fingerprint: md5 hash of migration source
      name: filename without version or extension
      0a5afa22
  36. 22 11月, 2012 2 次提交