Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-gorm/postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.5
Choose a base ref
...
head repository: go-gorm/postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.6
Choose a head ref
  • 8 commits
  • 4 files changed
  • 7 contributors

Commits on Nov 2, 2022

  1. Upgrade go.mod, close #140

    jinzhu committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    5eb6308 View commit details
    Browse the repository at this point in the history
  2. Upgrade pgx driver, close #139

    jinzhu committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    321c8fd View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2022

  1. Bump github.com/jackc/pgx/v5 from 5.0.4 to 5.2.0 (#150)

    Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.0.4 to 5.2.0.
    - [Release notes](https://github.com/jackc/pgx/releases)
    - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
    - [Commits](jackc/pgx@v5.0.4...v5.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/jackc/pgx/v5
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 24, 2022
    Configuration menu
    Copy the full SHA
    6629ecf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4343642 View commit details
    Browse the repository at this point in the history
  3. fix migrator default value regexp (#148)

    example:
    
    "country" varchar(4) DEFAULT 'CN'
    
    column.DefaultValueValue = "'CN'::character varying"
    elementor-i authored Dec 24, 2022
    Configuration menu
    Copy the full SHA
    1d65db6 View commit details
    Browse the repository at this point in the history
  4. Disable add existing constraint (#145)

    Co-authored-by: Andrey Likhachev <likhachev@bifit.int>
    crastinus and Andrey Likhachev authored Dec 24, 2022
    Configuration menu
    Copy the full SHA
    915abc3 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2023

  1. [CockroachDB] Fixing how it handle fields DEFAULT values and column t…

    …ypes (#143)
    
    * CockroachDB default types
    
    In cockroachdb, the default values returns something like `field:::TIMESTAMPZ`, and the validation here is only by the default value, without its type, this regex is required.
    
    * - considering column aliases for type checking in AlterColumn method
    
    * Merging cockroachdb + postgreSQL regex together. It work in all these cases:
    `'field'::character varying`
    `'field':::character varying`
    `field::character varying`
    `field:::character varying`
    rwrz authored Jan 1, 2023
    Configuration menu
    Copy the full SHA
    1dd9747 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d857acc View commit details
    Browse the repository at this point in the history
Loading