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:
parent
e41fb25de8
commit
fc8915caf3
1 changed files with 10 additions and 1 deletions
|
@ -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 a new issue