File tree Expand file tree Collapse file tree 5 files changed +8
-3
lines changed
Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ * @ Invoca/octothorpe
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44
55Note: this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 1.0.1] - Unreleased
8+ ### Fixed
9+ - Remove lingering usage of ` fallback_find_primary_key ` method that was removed in ` 0.14.0 `
10+
711## [ 1.0.0] - 2022-03-28
812### Added
913- Added support for Ruby 3+
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- declare_schema (1.0.0 )
4+ declare_schema (1.0.1 )
55 rails (>= 5.0 )
66
77GEM
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class << self
3737 def for_model ( model , old_table_name = nil )
3838 t = old_table_name || model . table_name
3939
40- primary_key_columns = Array ( model . connection . primary_key ( t ) ) . presence || fallback_find_primary_key ( model , t ) or
40+ primary_key_columns = Array ( model . connection . primary_key ( t ) ) . presence or
4141 raise "could not find primary key for table #{ t } in #{ model . connection . columns ( t ) . inspect } "
4242
4343 primary_key_found = false
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module DeclareSchema
4- VERSION = "1.0.0 "
4+ VERSION = "1.0.1 "
55end
You can’t perform that action at this time.
0 commit comments