diff --git a/app/models/omiga_inscription_info.rb b/app/models/omiga_inscription_info.rb index 98cdb2550..8b1111d91 100644 --- a/app/models/omiga_inscription_info.rb +++ b/app/models/omiga_inscription_info.rb @@ -8,22 +8,23 @@ class OmigaInscriptionInfo < ApplicationRecord # # Table name: omiga_inscription_infos # -# id :bigint not null, primary key -# code_hash :binary -# hash_type :string -# args :string -# decimal :decimal(, ) -# name :string -# symbol :string -# udt_hash :string -# expected_supply :decimal(, ) -# mint_limit :decimal(, ) -# mint_status :integer -# udt_id :bigint -# created_at :datetime not null -# updated_at :datetime not null -# type_hash :binary -# pre_udt_hash :binary +# id :bigint not null, primary key +# code_hash :binary +# hash_type :string +# args :string +# decimal :decimal(, ) +# name :string +# symbol :string +# udt_hash :string +# expected_supply :decimal(, ) +# mint_limit :decimal(, ) +# mint_status :integer +# udt_id :bigint +# created_at :datetime not null +# updated_at :datetime not null +# type_hash :binary +# pre_udt_hash :binary +# is_repeated_symbol :boolean default(FALSE) # # Indexes # diff --git a/db/migrate/20240313075641_add_is_repeated_symbol_to_omiga_inscription_info.rb b/db/migrate/20240313075641_add_is_repeated_symbol_to_omiga_inscription_info.rb new file mode 100644 index 000000000..d5f03676e --- /dev/null +++ b/db/migrate/20240313075641_add_is_repeated_symbol_to_omiga_inscription_info.rb @@ -0,0 +1,5 @@ +class AddIsRepeatedSymbolToOmigaInscriptionInfo < ActiveRecord::Migration[7.0] + def change + add_column :omiga_inscription_infos, :is_repeated_symbol, :boolean, default: false + end +end diff --git a/db/structure.sql b/db/structure.sql index 5b0aaca49..9b11bfac8 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -1810,7 +1810,8 @@ CREATE TABLE public.omiga_inscription_infos ( created_at timestamp(6) without time zone NOT NULL, updated_at timestamp(6) without time zone NOT NULL, type_hash bytea, - pre_udt_hash bytea + pre_udt_hash bytea, + is_repeated_symbol boolean DEFAULT false ); @@ -5185,6 +5186,7 @@ INSERT INTO "schema_migrations" (version) VALUES ('20240301025505'), ('20240305100337'), ('20240311143030'), -('20240312050057'); +('20240312050057'), +('20240313075641');