1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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 e41fb25de8
commit fc8915caf3
No known key found for this signature in database

View file

@ -1,7 +1,16 @@
# frozen_string_literal: true # frozen_string_literal: true
class Admin::Db::SchemaParser 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 attr_reader :indexes_by_table