-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt lfittl/activerecord-clean-db-structure
This gem reformats the db/structure.sql This could be useful on a team where there are changes to the db/structure.sql file from different team members as they run rails db:migrate on their machines, but those changes aren't intended to be committed. This gem formats the output to minimize any unintended diffs being created, or being committed rails db:migrate was run once here as well which does a one-time reformatting of the file
- Loading branch information
1 parent
94f39c5
commit bc5b122
Showing
4 changed files
with
157 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,9 @@ gem 'pg_query', '~> 4.2' | |
gem 'pg_search', '~> 2.3' | ||
gem 'activerecord-import', '~> 1.5' | ||
|
||
# Gem has an unreleased fix https://github.com/lfittl/activerecord-clean-db-structure/pull/36 | ||
gem 'activerecord-clean-db-structure', git: '[email protected]:lfittl/activerecord-clean-db-structure.git' | ||
|
||
# assets gems default Rails 7 app | ||
gem 'sprockets-rails', '~> 3.4' | ||
gem 'importmap-rails', '~> 1.2' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
GIT | ||
remote: [email protected]:lfittl/activerecord-clean-db-structure.git | ||
revision: ed6959ee644787cdf243b77eb61eed3775f394c9 | ||
specs: | ||
activerecord-clean-db-structure (0.4.0) | ||
activerecord (>= 4.2) | ||
|
||
GIT | ||
remote: https://github.com/andyatkinson/pghero.git | ||
revision: 49336df1ca79c3185a1d6b3c0fb87007ef09c7df | ||
|
@@ -16,75 +23,75 @@ GIT | |
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (7.1.2) | ||
actionpack (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
actioncable (7.1.3) | ||
actionpack (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
zeitwerk (~> 2.6) | ||
actionmailbox (7.1.2) | ||
actionpack (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activestorage (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
actionmailbox (7.1.3) | ||
actionpack (= 7.1.3) | ||
activejob (= 7.1.3) | ||
activerecord (= 7.1.3) | ||
activestorage (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
mail (>= 2.7.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
actionmailer (7.1.2) | ||
actionpack (= 7.1.2) | ||
actionview (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
actionmailer (7.1.3) | ||
actionpack (= 7.1.3) | ||
actionview (= 7.1.3) | ||
activejob (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
mail (~> 2.5, >= 2.5.4) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
rails-dom-testing (~> 2.2) | ||
actionpack (7.1.2) | ||
actionview (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
actionpack (7.1.3) | ||
actionview (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
nokogiri (>= 1.8.5) | ||
racc | ||
rack (>= 2.2.4) | ||
rack-session (>= 1.0.1) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
actiontext (7.1.2) | ||
actionpack (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activestorage (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
actiontext (7.1.3) | ||
actionpack (= 7.1.3) | ||
activerecord (= 7.1.3) | ||
activestorage (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
globalid (>= 0.6.0) | ||
nokogiri (>= 1.8.5) | ||
actionview (7.1.2) | ||
activesupport (= 7.1.2) | ||
actionview (7.1.3) | ||
activesupport (= 7.1.3) | ||
builder (~> 3.1) | ||
erubi (~> 1.11) | ||
rails-dom-testing (~> 2.2) | ||
rails-html-sanitizer (~> 1.6) | ||
active_record_doctor (1.14.0) | ||
activerecord (>= 4.2.0) | ||
activejob (7.1.2) | ||
activesupport (= 7.1.2) | ||
activejob (7.1.3) | ||
activesupport (= 7.1.3) | ||
globalid (>= 0.3.6) | ||
activemodel (7.1.2) | ||
activesupport (= 7.1.2) | ||
activerecord (7.1.2) | ||
activemodel (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
activemodel (7.1.3) | ||
activesupport (= 7.1.3) | ||
activerecord (7.1.3) | ||
activemodel (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
timeout (>= 0.4.0) | ||
activerecord-import (1.5.1) | ||
activerecord (>= 4.2) | ||
activestorage (7.1.2) | ||
actionpack (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
activestorage (7.1.3) | ||
actionpack (= 7.1.3) | ||
activejob (= 7.1.3) | ||
activerecord (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
marcel (~> 1.0) | ||
activesupport (7.1.2) | ||
activesupport (7.1.3) | ||
base64 | ||
bigdecimal | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
|
@@ -99,14 +106,14 @@ GEM | |
benchmark-ips (2.13.0) | ||
benchmark-memory (0.2.0) | ||
memory_profiler (~> 1) | ||
bigdecimal (3.1.5) | ||
bigdecimal (3.1.6) | ||
builder (3.2.4) | ||
choice (0.2.0) | ||
chronic (0.10.2) | ||
code_analyzer (0.5.5) | ||
sexp_processor | ||
coderay (1.1.3) | ||
concurrent-ruby (1.2.2) | ||
concurrent-ruby (1.2.3) | ||
connection_pool (2.4.1) | ||
crass (1.0.6) | ||
database_consistency (1.7.23) | ||
|
@@ -120,13 +127,12 @@ GEM | |
ruby2_keywords | ||
erubi (1.12.0) | ||
erubis (2.7.0) | ||
faker (3.2.2) | ||
faker (3.2.3) | ||
i18n (>= 1.8.11, < 2) | ||
faraday (2.8.1) | ||
base64 | ||
faraday-net_http (>= 2.0, < 3.1) | ||
ruby2_keywords (>= 0.0.4) | ||
faraday-net_http (3.0.2) | ||
faraday (2.9.0) | ||
faraday-net_http (>= 2.0, < 3.2) | ||
faraday-net_http (3.1.0) | ||
net-http | ||
fast_count (0.2.0) | ||
activerecord (>= 6.0) | ||
fast_jsonapi (1.5) | ||
|
@@ -137,19 +143,19 @@ GEM | |
geocoder (1.8.2) | ||
globalid (1.2.1) | ||
activesupport (>= 6.1) | ||
google-protobuf (3.25.1-aarch64-linux) | ||
google-protobuf (3.25.1-x86_64-darwin) | ||
google-protobuf (3.25.1-x86_64-linux) | ||
google-protobuf (3.25.2-aarch64-linux) | ||
google-protobuf (3.25.2-x86_64-darwin) | ||
google-protobuf (3.25.2-x86_64-linux) | ||
i18n (1.14.1) | ||
concurrent-ruby (~> 1.0) | ||
importmap-rails (1.2.3) | ||
actionpack (>= 6.0.0) | ||
activesupport (>= 6.0.0) | ||
railties (>= 6.0.0) | ||
io-console (0.7.1) | ||
irb (1.11.0) | ||
io-console (0.7.2) | ||
irb (1.11.1) | ||
rdoc | ||
reline (>= 0.3.8) | ||
reline (>= 0.4.2) | ||
json (2.7.1) | ||
jwt (2.7.1) | ||
loofah (2.22.0) | ||
|
@@ -164,8 +170,10 @@ GEM | |
memory_profiler (1.0.1) | ||
method_source (1.0.0) | ||
mini_mime (1.1.5) | ||
minitest (5.20.0) | ||
minitest (5.21.2) | ||
mutex_m (0.2.0) | ||
net-http (0.4.1) | ||
uri | ||
net-imap (0.4.9.1) | ||
date | ||
net-protocol | ||
|
@@ -197,28 +205,28 @@ GEM | |
puma (6.4.2) | ||
nio4r (~> 2.0) | ||
racc (1.7.3) | ||
rack (3.0.8) | ||
rack (3.0.9) | ||
rack-session (2.0.0) | ||
rack (>= 3.0.0) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rackup (2.1.0) | ||
rack (>= 3) | ||
webrick (~> 1.8) | ||
rails (7.1.2) | ||
actioncable (= 7.1.2) | ||
actionmailbox (= 7.1.2) | ||
actionmailer (= 7.1.2) | ||
actionpack (= 7.1.2) | ||
actiontext (= 7.1.2) | ||
actionview (= 7.1.2) | ||
activejob (= 7.1.2) | ||
activemodel (= 7.1.2) | ||
activerecord (= 7.1.2) | ||
activestorage (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
rails (7.1.3) | ||
actioncable (= 7.1.3) | ||
actionmailbox (= 7.1.3) | ||
actionmailer (= 7.1.3) | ||
actionpack (= 7.1.3) | ||
actiontext (= 7.1.3) | ||
actionview (= 7.1.3) | ||
activejob (= 7.1.3) | ||
activemodel (= 7.1.3) | ||
activerecord (= 7.1.3) | ||
activestorage (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
bundler (>= 1.15.0) | ||
railties (= 7.1.2) | ||
railties (= 7.1.3) | ||
rails-dom-testing (2.2.0) | ||
activesupport (>= 5.0.0) | ||
minitest | ||
|
@@ -242,9 +250,9 @@ GEM | |
json | ||
require_all (~> 3.0) | ||
ruby-progressbar | ||
railties (7.1.2) | ||
actionpack (= 7.1.2) | ||
activesupport (= 7.1.2) | ||
railties (7.1.3) | ||
actionpack (= 7.1.3) | ||
activesupport (= 7.1.3) | ||
irb | ||
rackup (>= 1.0.0) | ||
rake (>= 12.2) | ||
|
@@ -267,7 +275,7 @@ GEM | |
scenic (1.7.0) | ||
activerecord (>= 4.0.0) | ||
railties (>= 4.0.0) | ||
sexp_processor (4.17.0) | ||
sexp_processor (4.17.1) | ||
sprockets (4.2.1) | ||
concurrent-ruby (~> 1.0) | ||
rack (>= 2.2.4, < 4) | ||
|
@@ -285,6 +293,7 @@ GEM | |
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (2.5.0) | ||
uri (0.13.0) | ||
webrick (1.8.1) | ||
websocket-driver (0.7.6) | ||
websocket-extensions (>= 0.1.0) | ||
|
@@ -303,6 +312,7 @@ PLATFORMS | |
|
||
DEPENDENCIES | ||
active_record_doctor | ||
activerecord-clean-db-structure! | ||
activerecord-import (~> 1.5) | ||
bcrypt (~> 3.1) | ||
benchmark-ips | ||
|
Oops, something went wrong.