1. 10 10月, 2016 1 次提交
  2. 07 8月, 2016 2 次提交
  3. 20 4月, 2016 1 次提交
  4. 16 4月, 2016 1 次提交
  5. 12 3月, 2016 1 次提交
    • R
      Primary key should be `NOT NULL` · 98fb3744
      Ryuta Kamizono 提交于
      Follow up to #18228.
      
      In MySQL and PostgreSQL, primary key is to be `NOT NULL` implicitly.
      But in SQLite it must be specified `NOT NULL` explicitly.
      98fb3744
  6. 11 3月, 2016 2 次提交
  7. 29 2月, 2016 1 次提交
  8. 08 2月, 2016 1 次提交
  9. 13 1月, 2016 1 次提交
  10. 13 10月, 2015 1 次提交
  11. 28 9月, 2015 1 次提交
  12. 09 7月, 2015 1 次提交
  13. 19 5月, 2015 1 次提交
  14. 04 5月, 2015 1 次提交
  15. 04 3月, 2015 1 次提交
  16. 18 2月, 2015 1 次提交
  17. 11 2月, 2015 2 次提交
    • R
      The datetime precision with zero should be dumped · 18e0ffe9
      Ryuta Kamizono 提交于
      `precision: 0` was not dumped by f1a0fa9e.
      However, `precision: 0` is valid value for PostgreSQL timestamps.
      18e0ffe9
    • S
      Refactor microsecond precision to be database agnostic · f1a0fa9e
      Sean Griffin 提交于
      The various databases don't actually need significantly different
      handling for this behavior, and they can achieve it without knowing
      about the type of the object.
      
      The old implementation was returning a string, which will cause problems
      such as breaking TZ aware attributes, and making it impossible for the
      adapters to supply their logic for time objects.
      f1a0fa9e
  18. 31 1月, 2015 1 次提交
  19. 29 12月, 2014 1 次提交
  20. 02 12月, 2014 1 次提交
  21. 30 10月, 2014 1 次提交
  22. 11 9月, 2014 1 次提交
  23. 18 6月, 2014 1 次提交
    • S
      Don't type cast the default on the column · 4d3e88fc
      Sean Griffin 提交于
      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.
      4d3e88fc
  24. 12 6月, 2014 1 次提交
  25. 30 5月, 2014 1 次提交
  26. 24 5月, 2014 1 次提交
  27. 26 3月, 2013 1 次提交
  28. 27 2月, 2013 1 次提交
  29. 25 2月, 2013 1 次提交
  30. 23 1月, 2013 1 次提交
  31. 14 9月, 2012 1 次提交
    • D
      Moves column dump specific code to a module included in AbstractAdapter · 4544d2bc
      Dan McClain 提交于
      Having column related schema dumper code in the AbstractAdapter. The
      code remains the same, but by placing it in the AbstractAdapter, we can
      then overwrite it with Adapter specific methods that will help with
      Adapter specific data types.
      
      The goal of moving this code here is to create a new migration key for
      PostgreSQL's array type. Since any datatype can be an array, the goal is
      to have ':array => true' as a migration option, turning the datatype
      into an array. I've implemented this in postgres_ext, the syntax is
      shown here: https://github.com/dockyard/postgres_ext#arrays
      
      Adds array migration support
      
      Adds array_test.rb outlining the test cases for array data type
      Adds pg_array_parser to Gemfile for testing
      Adds pg_array_parser to postgresql_adapter (unused in this commit)
      
      Adds schema dump support for arrays
      
      Adds postgres array type casting support
      
      Updates changelog, adds note for inet and cidr support, which I forgot to add before
      
      Removing debugger, Adds pg_array_parser to JRuby platform
      
      Removes pg_array_parser requirement, creates ArrayParser module used by
      PostgreSQLAdapter
      4544d2bc