Skip to content

Commit

Permalink
Update to a patched nulldb adapter
Browse files Browse the repository at this point in the history
Since the old version did not support t.unique_constraint,
the build failed before.
  • Loading branch information
Kagemaru committed Feb 8, 2024
1 parent cf3e19d commit 5e1b637
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ git_source(:github) { |name| "https://github.com/#{name}.git" }

gem 'rails', '~> 7.0.x'

gem 'activerecord-nulldb-adapter'
gem 'activerecord-nulldb-adapter', github: 'puzzle/nulldb'
gem 'pg'

gem 'nochmal', github: 'puzzle/nochmal'
Expand Down
11 changes: 8 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ GIT
pastel
rails (>= 6.0)

GIT
remote: https://github.com/puzzle/nulldb.git
revision: 06088c94b496f3ecd6017c759bc0b2353b50e89a
specs:
activerecord-nulldb-adapter (1.0.1)
activerecord (>= 5.2.0, < 7.2)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -71,8 +78,6 @@ GEM
activemodel (= 7.1.3)
activesupport (= 7.1.3)
timeout (>= 0.4.0)
activerecord-nulldb-adapter (1.0.1)
activerecord (>= 5.2.0, < 7.2)
activeresource (6.0.0)
activemodel (>= 6.0)
activemodel-serializers-xml (~> 1.0)
Expand Down Expand Up @@ -691,7 +696,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
activerecord-nulldb-adapter
activerecord-nulldb-adapter!
acts_as_tree
airbrake
annotate
Expand Down

0 comments on commit 5e1b637

Please sign in to comment.