commit
d6e94353cd
3 changed files with 8 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
object :raid
|
object :raid
|
||||||
|
|
||||||
attributes :id, :level, :group, :element
|
attributes :id, :slug, :level, :group, :element
|
||||||
|
|
||||||
node :name do |r|
|
node :name do |r|
|
||||||
{
|
{
|
||||||
|
|
|
||||||
5
db/migrate/20220306131942_add_slug_to_raids.rb
Normal file
5
db/migrate/20220306131942_add_slug_to_raids.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddSlugToRaids < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
add_column :raids, :slug, :string
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 2022_03_04_115434) do
|
ActiveRecord::Schema.define(version: 2022_03_06_131942) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
|
|
@ -155,6 +155,7 @@ ActiveRecord::Schema.define(version: 2022_03_04_115434) do
|
||||||
t.integer "level"
|
t.integer "level"
|
||||||
t.integer "group"
|
t.integer "group"
|
||||||
t.integer "element"
|
t.integer "element"
|
||||||
|
t.string "slug"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
create_table "summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue