Skip to content

Commit

Permalink
Farewell CorrectSchemaVerifier.
Browse files Browse the repository at this point in the history
Served well in post-0.18 schema transition, not much use now.
Keeps bringing trouble (#464, #644).
  • Loading branch information
mostlyobvious committed Jul 19, 2019
1 parent addf5c1 commit 2d35c7d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 210 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
require 'rails_event_store_active_record/event'
require 'rails_event_store_active_record/event_repository'
require 'rails_event_store_active_record/event_repository_reader'
require 'rails_event_store_active_record/correct_schema_verifier'
require 'rails_event_store_active_record/index_violation_detector'
require 'rails_event_store_active_record/pg_linearized_event_repository'
require 'rails_event_store_active_record/version'

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class EventRepository
SERIALIZED_GLOBAL_STREAM_NAME = "all".freeze

def initialize
verify_correct_schema_present
@repo_reader = EventRepositoryReader.new
end

Expand Down Expand Up @@ -124,10 +123,6 @@ def build_event_record(serialized_record)
)
end

def verify_correct_schema_present
CorrectSchemaVerifier.new.verify
end

# Overwritten in a sub-class
def fill_ids(_in_stream)
end
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 2d35c7d

Please sign in to comment.