show onboarding page when currency is not set

This commit is contained in:
Bilal
2020-10-06 14:17:18 +03:00
parent 6fb30209da
commit cd88d21a26
10 changed files with 87 additions and 7 deletions

View File

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

View File

@@ -0,0 +1,13 @@
class CreateOriginalGangstas < ActiveRecord::Migration[5.2]
def change
create_table :original_gangstas 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

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_10_06_103421) do
ActiveRecord::Schema.define(version: 2020_10_06_120951) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -41,8 +41,6 @@ ActiveRecord::Schema.define(version: 2020_10_06_103421) 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|
@@ -53,6 +51,16 @@ ActiveRecord::Schema.define(version: 2020_10_06_103421) do
t.datetime "updated_at", null: false
end
create_table "original_gangstas", 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
create_table "work", force: :cascade do |t|
t.text "description"
t.integer "amount"