Remove ruby 3.2 feature.

We still support 3.1.
This commit is contained in:
David Roetzel 2024-07-01 15:40:58 +02:00
parent b5bec6f142
commit b6138a9615
No known key found for this signature in database

View file

@ -1,7 +1,16 @@
# frozen_string_literal: true
class Admin::Db::SchemaParser
Index = Data.define(:name, :table_name, :columns, :options)
class Index
attr_reader :name, :table_name, :columns, :options
def initialize(name:, table_name:, columns:, options:)
@name = name
@table_name = table_name
@columns = columns
@options = options
end
end
attr_reader :indexes_by_table