rename original gangsta to gang

This commit is contained in:
Bilal
2020-10-07 18:26:59 +03:00
parent b5a70a6e42
commit e0c5f60c68
13 changed files with 67 additions and 63 deletions

View File

@@ -0,0 +1,5 @@
class RenameOriginalGangstasToGangs < ActiveRecord::Migration[5.2]
def change
rename_table :original_gangstas, :gangs
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_120951) do
ActiveRecord::Schema.define(version: 2020_10_07_180902) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -35,6 +35,16 @@ ActiveRecord::Schema.define(version: 2020_10_06_120951) do
t.index ["name"], name: "index_chips_on_name", unique: true
end
create_table "gangs", 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 "homies", force: :cascade do |t|
t.text "name", null: false
t.integer "importance", default: 100, null: false
@@ -51,16 +61,6 @@ ActiveRecord::Schema.define(version: 2020_10_06_120951) 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"