Add Granblue ID instead of slug
This commit is contained in:
parent
54948e4435
commit
67146e3ab3
3 changed files with 6 additions and 6 deletions
5
db/migrate/20230123055508_add_granblue_id_to_jobs.rb
Normal file
5
db/migrate/20230123055508_add_granblue_id_to_jobs.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddGranblueIdToJobs < ActiveRecord::Migration[7.0]
|
||||||
|
def change
|
||||||
|
add_column :jobs, :granblue_id, :string
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
class AddSlugToJobs < ActiveRecord::Migration[7.0]
|
|
||||||
def change
|
|
||||||
add_column :jobs, :slug, :string
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
@ -137,7 +137,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_23_055508) do
|
||||||
t.boolean "ml", default: false
|
t.boolean "ml", default: false
|
||||||
t.integer "order"
|
t.integer "order"
|
||||||
t.uuid "base_job_id"
|
t.uuid "base_job_id"
|
||||||
t.string "slug"
|
t.string "granblue_id"
|
||||||
t.index ["base_job_id"], name: "index_jobs_on_base_job_id"
|
t.index ["base_job_id"], name: "index_jobs_on_base_job_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue