add homie to the gang when homie is created
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2020_10_07_180902) do
|
||||
ActiveRecord::Schema.define(version: 2020_10_07_213411) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -43,6 +43,7 @@ ActiveRecord::Schema.define(version: 2020_10_07_180902) do
|
||||
t.integer "chip_scale"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.text "name"
|
||||
end
|
||||
|
||||
create_table "homies", force: :cascade do |t|
|
||||
@@ -51,6 +52,8 @@ ActiveRecord::Schema.define(version: 2020_10_07_180902) do
|
||||
t.text "about"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.bigint "gang_id"
|
||||
t.index ["gang_id"], name: "index_homies_on_gang_id"
|
||||
end
|
||||
|
||||
create_table "money_moves", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user