-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abbc931
commit 20ee1ea
Showing
5 changed files
with
30 additions
and
355 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class DropUnusedTables < ActiveRecord::Migration[7.0] | ||
def change | ||
drop_table :pool_transaction_entries, if_exists: true | ||
drop_table :old_ckb_transactions, if_exists: true | ||
drop_table :temp_view, if_exists: true | ||
drop_table :tx_display_infos, if_exists: true | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class RebindCellInputsIdSequence < ActiveRecord::Migration[7.0] | ||
def up | ||
execute <<-SQL | ||
ALTER SEQUENCE cell_inputs_id_seq OWNED BY cell_inputs.id; | ||
SQL | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class DropCellInputsOldTables < ActiveRecord::Migration[7.0] | ||
def change | ||
drop_table :cell_inputs_old, if_exists: true | ||
end | ||
end |
Oops, something went wrong.