1. 10 6月, 2017 1 次提交
  2. 03 6月, 2017 1 次提交
  3. 19 5月, 2017 1 次提交
  4. 10 5月, 2017 1 次提交
  5. 26 3月, 2017 1 次提交
  6. 20 3月, 2017 1 次提交
  7. 06 3月, 2017 1 次提交
  8. 05 3月, 2017 2 次提交
  9. 04 3月, 2017 1 次提交
    • R
      Fix `rake db:schema:load` with subdirectories · 031605aa
      Ryuta Kamizono 提交于
      Related #25174.
      
      `db:schema:load` doesn't work with subdirectories like previous
      `db:migrate:status`. `Migrator.migration_files` should be used in
      `assume_migrated_upto_version` to fix the issue.
      031605aa
  10. 28 2月, 2017 1 次提交
  11. 23 2月, 2017 1 次提交
    • R
      Correctly dump native timestamp types for MySQL · 50552633
      Ryuta Kamizono 提交于
      The native timestamp type in MySQL is different from datetime type.
      Internal representation of the timestamp type is UNIX time, This means
      that timestamp columns are affected by time zone.
      
      ```
      > SET time_zone = '+00:00';
      Query OK, 0 rows affected (0.00 sec)
      
      > INSERT INTO time_with_zone(ts,dt) VALUES (NOW(),NOW());
      Query OK, 1 row affected (0.02 sec)
      
      > SELECT * FROM time_with_zone;
      +---------------------+---------------------+
      | ts                  | dt                  |
      +---------------------+---------------------+
      | 2016-02-07 22:11:44 | 2016-02-07 22:11:44 |
      +---------------------+---------------------+
      1 row in set (0.00 sec)
      
      > SET time_zone = '-08:00';
      Query OK, 0 rows affected (0.00 sec)
      
      > SELECT * FROM time_with_zone;
      +---------------------+---------------------+
      | ts                  | dt                  |
      +---------------------+---------------------+
      | 2016-02-07 14:11:44 | 2016-02-07 22:11:44 |
      +---------------------+---------------------+
      1 row in set (0.00 sec)
      ```
      50552633
  12. 20 2月, 2017 1 次提交
  13. 19 2月, 2017 1 次提交
  14. 13 2月, 2017 3 次提交
  15. 11 2月, 2017 1 次提交
  16. 09 2月, 2017 1 次提交
  17. 07 2月, 2017 2 次提交
  18. 19 1月, 2017 2 次提交
  19. 18 1月, 2017 1 次提交
  20. 04 1月, 2017 1 次提交
  21. 30 12月, 2016 1 次提交
  22. 29 12月, 2016 1 次提交
  23. 25 12月, 2016 1 次提交
  24. 24 12月, 2016 2 次提交
  25. 23 12月, 2016 1 次提交
  26. 06 12月, 2016 1 次提交
    • S
      Don't try to run multiple insert queries at once · fd87169e
      Sean Griffin 提交于
      SQLite's default query interface ignores anything after the first
      semicolon in a query. This is actually quite common behavior in database
      drivers, especially when dealing with code paths for prepared statements
      (which we are). While this should only affect SQLite, as I'm not aware
      of any drivers which don't support multi-insert. Even if this does
      affect other third party drivers though, I'd prefer not to assume that
      more than one query can be executed per call to `execute`.
      
      Fixes #26948.
      Close #27242.
      fd87169e
  27. 26 10月, 2016 1 次提交
  28. 10 10月, 2016 2 次提交
    • R
      `name` is not a column option · 24a1a6a8
      Ryuta Kamizono 提交于
      `migration_keys` includes `name` but `name` is not a column option.
      24a1a6a8
    • R
      Dump index options to pretty format · 5025fd3a
      Ryuta Kamizono 提交于
      ```ruby
        # Before
        t.index ["firm_id", "type", "rating"], name: "company_index", order: {"rating"=>:desc}, using: :btree
      
        # After
        t.index ["firm_id", "type", "rating"], name: "company_index", order: { rating: :desc }, using: :btree
      ```
      5025fd3a
  29. 08 10月, 2016 1 次提交
  30. 03 10月, 2016 2 次提交
  31. 16 9月, 2016 1 次提交
  32. 02 9月, 2016 1 次提交