1. 24 4月, 2018 1 次提交
    • D
      Update schema.rb documentation [CI SKIP] · 84718df8
      Derek Prior 提交于
      The documentation previously claimed that `db/schema.rb` was "the
      authoritative source for your database schema" while simultaneously
      also acknowledging that the file is generated. These two statements are
      incongruous and the guides accurately call out that many database
      constructs are unsupported by `schema.rb`. This change updates the
      comment at the top of `schema.rb` to remove the assertion that the file
      is authoritative.
      
      The documentation also previously referred vaguely to "issues" when
      re-running old migrations. This has been updated slightly to hint at the
      types of problems that one can encounter with old migrations.
      
      In sum, this change attempts to more accurately capture the pros, cons,
      and shortcomings of the two schema formats in the guides and in the
      comment at the top of `schema.rb`.
      
      [Derek Prior & Sean Griffin]
      Co-authored-by: NSean Griffin <sean@seantheprogrammer.com>
      84718df8
  2. 12 3月, 2018 1 次提交
  3. 11 12月, 2017 1 次提交
  4. 23 8月, 2017 1 次提交
  5. 20 4月, 2017 1 次提交
    • J
      Reword sentence · 54fa07f2
      Jon Moss 提交于
      Sentence had some awkward grammar and was kind of confusing, tried to make it easier
      to understand what it was trying to say :)
      
      [ci skip]
      54fa07f2
  6. 19 4月, 2017 1 次提交
  7. 07 11月, 2016 1 次提交
  8. 31 10月, 2016 1 次提交
  9. 21 10月, 2016 2 次提交
  10. 16 7月, 2016 1 次提交
    • J
      Update references generation docs to exclude index · 65132b90
      Josh Justice 提交于
      In #23179 the migration generator was changed to no longer output `index: true` for `references` migrations. This updates the migrations guide to remove `index: true` from relevant examples.
      
      [ci skip]
      65132b90
  11. 18 4月, 2016 1 次提交
  12. 17 4月, 2016 1 次提交
  13. 16 4月, 2016 1 次提交
  14. 14 4月, 2016 1 次提交
  15. 03 3月, 2016 2 次提交
  16. 10 2月, 2016 1 次提交
  17. 20 1月, 2016 1 次提交
  18. 18 12月, 2015 1 次提交
  19. 15 12月, 2015 2 次提交
    • M
      Use a real migration version number in docs · 97c77160
      Matthew Draper 提交于
      Even though this means more things to change when we bump after a
      release, it's more important that our examples are directly copyable.
      97c77160
    • M
      Use a deliberately-invalid migration version in all doc examples · c0af95e0
      Matthew Draper 提交于
      If we use a real version, at best that'll be an onerous update required
      for each release; at worst, it will encourage users to write new
      migrations against an older version than they're using.
      
      The other option would be to leave these bare, without any version
      specifier. But as that's just a variant spelling of "4.2", it would seem
      to raise the same concerns as above.
      c0af95e0
  20. 01 11月, 2015 1 次提交
  21. 16 10月, 2015 1 次提交
  22. 15 10月, 2015 1 次提交
    • A
      Clarifies db can be set up from structure.sql also · 0166adce
      AnnaErshova 提交于
      I added that *structure.sql* file can be used when *db:reset* is run.
      
      *db:reset* tasks states *db:reset* loads database from *db/schema.rb*
      or *db/structure.sql* depending on the configuration (although
      *db/schema.rb* is the default), hence the change.
      0166adce
  23. 31 8月, 2015 1 次提交
  24. 24 8月, 2015 1 次提交
  25. 09 8月, 2015 1 次提交
  26. 04 8月, 2015 1 次提交
  27. 30 6月, 2015 1 次提交
  28. 27 6月, 2015 1 次提交
  29. 12 6月, 2015 1 次提交
  30. 14 5月, 2015 1 次提交
  31. 01 4月, 2015 1 次提交
  32. 25 3月, 2015 1 次提交
  33. 23 3月, 2015 1 次提交
  34. 22 3月, 2015 1 次提交
  35. 19 3月, 2015 1 次提交
  36. 30 1月, 2015 1 次提交
  37. 14 1月, 2015 1 次提交