lootban start

This commit is contained in:
2025-02-27 15:47:41 -08:00
parent 2c0f09455e
commit 0e380931b1
12 changed files with 91 additions and 53 deletions

View File

@ -0,0 +1,9 @@
class CreateLootbans < ActiveRecord::Migration[8.0]
def change
create_table :lootbans do |t|
t.string :name
t.timestamps
end
end
end

8
db/schema.rb generated
View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_01_26_011348) do
ActiveRecord::Schema[8.0].define(version: 2025_02_27_233421) do
create_table "api_keys", force: :cascade do |t|
t.string "key"
t.string "client"
@ -32,6 +32,12 @@ ActiveRecord::Schema[8.0].define(version: 2025_01_26_011348) do
t.datetime "updated_at", null: false
end
create_table "lootbans", force: :cascade do |t|
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "players", force: :cascade do |t|
t.string "name"
t.integer "wins"