1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

8 commits

Author SHA1 Message Date
Akira Matsuda
cf38bda8e2 Be sure to reset PK name renamed in the test 2014-08-15 01:29:42 +09:00
Sean Griffin
4d3e88fc75 Don't type cast the default on the column
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.
2014-06-17 16:02:53 -06:00
Marc Schütz
9a0d35e820 Make :index in migrations work with all column types 2014-05-18 11:26:41 +02:00
Vipul A M
77a7382b08 anual_salary => annual_salary 2013-03-28 21:45:08 +05:30
Vipul A M
437961b558 respect auto_increment in rename_column for mysql 2013-03-27 00:15:59 +05:30
Yasuo Honda
6fad6b5e5c Oracle enhanced adapter shortens its name if it is longer than 30 bytes
because of Oracle database index length spec.
2013-02-24 12:11:34 +09:00
Yves Senn
e7f0716eee also rename the test-case class inside columns_test.rb 2013-02-24 02:26:01 +01:00
Yves Senn
d03928c81a rename_column_test.rb -> columns_test.rb to reveal intent.
I renamed the test to better communicate it's intention. Since it also tests:
  - add_column
  - remove_column
  - change_column
There is no reason to call it rename_column_test.
2013-02-23 15:42:55 +01:00
Renamed from activerecord/test/cases/migration/rename_column_test.rb (Browse further)