- 24 4月, 2018 1 次提交
-
-
由 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>
-
- 12 3月, 2018 1 次提交
-
-
由 Yauheni Dakuka 提交于
-
- 11 12月, 2017 1 次提交
-
-
由 Alberto Almagro 提交于
Removes default ENGINE documentation hint for MySQL and MariaDB as we aren't taking measures to set the default ENGINE anymore.
-
- 23 8月, 2017 1 次提交
-
-
由 Yoshiyuki Hirano 提交于
-
- 20 4月, 2017 1 次提交
-
-
由 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]
-
- 19 4月, 2017 1 次提交
-
-
由 vishalzambre 提交于
-
- 07 11月, 2016 1 次提交
-
-
由 bogdanvlviv 提交于
-
- 31 10月, 2016 1 次提交
-
-
由 Benny 提交于
-
- 21 10月, 2016 2 次提交
-
-
由 Yves Senn 提交于
[ci skip] This was pointed out on https://github.com/rails/rails/issues/15583#issuecomment-239212831 The comment was lost in the changes made by fcd0ac06 and 3e1373a7
-
由 Yves Senn 提交于
-
- 16 7月, 2016 1 次提交
-
-
由 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]
-
- 18 4月, 2016 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 17 4月, 2016 1 次提交
-
-
由 Alex Handley 提交于
- Add link for finding the addional options for index. - Add example for unique index as this is a common requirement. - Add link in guide for index options.
-
- 16 4月, 2016 1 次提交
-
-
由 Andrey Novikov 提交于
Comments are specified in migrations, stored in database itself (in its schema), and dumped into db/schema.rb file. This allows to generate good documentation and explain columns and tables' purpose to everyone from new developers to database administrators. For PostgreSQL and MySQL only. SQLite does not support comments at the moment. See docs for PostgreSQL: http://www.postgresql.org/docs/current/static/sql-comment.html See docs for MySQL: http://dev.mysql.com/doc/refman/5.7/en/create-table.html
-
- 14 4月, 2016 1 次提交
-
-
由 iangilfillan 提交于
-
- 03 3月, 2016 2 次提交
-
-
由 Prathamesh Sonpatki 提交于
- We no longer add `null: false` for timestamps columns as per rails/rails@a939506. - Followup of https://github.com/rails/docrails/commit/14867b1a9af813b0147bba2ae06675137d61d77b.
-
由 Mehmet Emin İNAÇ 提交于
-
- 10 2月, 2016 1 次提交
-
-
由 Matt Michnal 提交于
Fixed errors in rails migrations docs [ci skip] Fixed errors in rails security docs [ci skip]
-
- 20 1月, 2016 1 次提交
-
-
由 Gaurav Sharma 提交于
I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
-
- 18 12月, 2015 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Still more to do. Please assist!
-
- 15 12月, 2015 2 次提交
-
-
由 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.
-
由 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.
-
- 01 11月, 2015 1 次提交
-
-
由 atul-shimpi 提交于
-
- 16 10月, 2015 1 次提交
-
-
由 Anna Ershova 提交于
Add 'db/'; corrects structure.rb to structure.sql
-
- 15 10月, 2015 1 次提交
-
-
由 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.
-
- 31 8月, 2015 1 次提交
-
-
由 yui-knk 提交于
* Documentations and comments about what methods `Migration#change` can reverse is out of date. For example `change_column_default` is now reversible by this [commit](https://github.com/rails/rails/pull/20018). * Comments about `CommandRecorder` dose not match with Rails Guide. For example `add_foreign_key` is listed only on Rails Guide.
-
- 24 8月, 2015 1 次提交
-
-
由 yui-knk 提交于
In rails generally migration file's timestamp is "YYYYMMDDHHMMSS".
-
- 09 8月, 2015 1 次提交
-
-
由 Brooks Reese 提交于
-
- 04 8月, 2015 1 次提交
-
-
由 r11runner 提交于
-
- 30 6月, 2015 1 次提交
-
-
由 Jordon Dornbos 提交于
-
- 27 6月, 2015 1 次提交
-
-
由 Prem Sichanugrist 提交于
-
- 12 6月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
this behavior was changed in b8e1f202
-
- 14 5月, 2015 1 次提交
-
-
由 Tim Wade 提交于
* insert 'and' into a poorly formed sentence. * avoid using 'reverse' twice in the same sentence (which would indicate the opposite of what is meant)
-
- 01 4月, 2015 1 次提交
-
-
由 Konstantinos Rousis 提交于
-
- 25 3月, 2015 1 次提交
-
-
由 Andrey Nering 提交于
-
- 23 3月, 2015 1 次提交
-
-
由 Santosh Wadghule 提交于
-
- 22 3月, 2015 1 次提交
-
-
由 yui-knk 提交于
-
- 19 3月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 30 1月, 2015 1 次提交
-
-
由 Andrey Nering 提交于
-
- 14 1月, 2015 1 次提交
-
-
由 Vipul A M 提交于
- Changed `IN` to `ON` in all note sentences in guides.
-