aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/comment_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant `unless current_adapter?(:OracleAdapter)`Ryuta Kamizono2017-07-281-2/+0
|
* Merge pull request #28695 from koic/integer_type_has_precision_option_in_oracleAkira Matsuda2017-07-271-1/+5
|\ | | | | Fix an AR test of schema dump when using Oracle
| * Fix an AR test of schema dump when using OracleKoichi ITO2017-04-071-1/+5
| |
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| |
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|/
* Ignore AR tests of index comment when using OracleKoichi ITO2017-04-051-5/+9
|
* Omit redundant `using: :btree` for schema dumpingRyuta Kamizono2017-02-131-1/+1
|
* Fix that `change_column` lose a commentRyuta Kamizono2016-12-051-2/+1
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-104/+104
|
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-33/+33
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Treat blank comments as no comment for indexesRyuta Kamizono2016-04-291-1/+10
| | | | | | Follow up of 1683410. Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
* Dump indexes in `create_table` for generates SQL in one queryRyuta Kamizono2016-04-201-2/+2
| | | | | If the adapter supports indexes in create table, it generates SQL in one query.
* Remove unecessary commentJon Moss2016-04-191-1/+1
|
* Database comments: Treat blank comments as no comment. Don't dump blank ↵Jeremy Daer2016-04-191-55/+96
| | | | comments.
* Database comments: switch to keyword args for new table optionsJeremy Daer2016-04-181-3/+1
| | | | | | * Switch to keyword args where we can without breaking compat. * Use add_table_options! for :options, too. * Some code polish.
* Add support for specifying comments for tables, columns, and indexes.Andrey Novikov2016-04-161-0/+91
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