Revert "Merge branch 'transform-currency-support' into 'master'"

This reverts merge request !14
This commit is contained in:
Bilal Catic
2020-10-06 06:26:23 +00:00
parent cec435f052
commit fcce2b678f
18 changed files with 52 additions and 286 deletions

View File

@@ -1,5 +0,0 @@
class RemoveDefaultChipFromHomies < ActiveRecord::Migration[5.2]
def change
remove_reference :homies, :chip
end
end

View File

@@ -1,13 +0,0 @@
class CreateOgs < ActiveRecord::Migration[5.2]
def change
create_table :ogs do |t|
t.text :chip_name
t.text :chip_code
t.text :chip_symbol
t.boolean :chip_prefixed
t.integer :chip_scale
t.timestamps
end
end
end

View File

@@ -41,6 +41,8 @@ ActiveRecord::Schema.define(version: 2020_09_19_023237) do
t.text "about"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.bigint "chip_id"
t.index ["chip_id"], name: "index_homies_on_chip_id"
end
create_table "money_moves", force: :cascade do |t|
@@ -59,16 +61,6 @@ ActiveRecord::Schema.define(version: 2020_09_19_023237) do
t.datetime "updated_at", null: false
end
create_table "ogs", force: :cascade do |t|
t.text "chip_name"
t.text "chip_code"
t.text "chip_symbol"
t.boolean "chip_prefixed"
t.integer "chip_scale"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
add_foreign_key "chip_values", "chips", column: "base_chip_id"
add_foreign_key "chip_values", "chips", column: "secondary_chip_id"
end