mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Remove ruby 3.2 feature.
We still support 3.1.
This commit is contained in:
parent
b5bec6f142
commit
b6138a9615
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user