mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 04:02:07 +01:00
Remove ruby 3.2 feature.
We still support 3.1.
This commit is contained in:
parent
b5bec6f142
commit
b6138a9615
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue