feat: Introduce company name on event description

This commit is contained in:
kbe
2025-08-28 18:17:36 +02:00
parent 4e2445198f
commit 7cdb9f468c
6 changed files with 35 additions and 23 deletions

9
db/schema.rb generated
View File

@@ -11,7 +11,7 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.0].define(version: 2025_08_23_171354) do
create_table "events", force: :cascade do |t|
create_table "events", charset: "utf8mb4", collation: "utf8mb4_uca1400_ai_ci", force: :cascade do |t|
t.string "name", null: false
t.string "slug", null: false
t.string "image"
@@ -33,7 +33,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_08_23_171354) do
t.index ["user_id"], name: "index_events_on_user_id"
end
create_table "ticket_types", force: :cascade do |t|
create_table "ticket_types", charset: "utf8mb4", collation: "utf8mb4_uca1400_ai_ci", force: :cascade do |t|
t.string "name"
t.text "description"
t.integer "price_cents"
@@ -50,7 +50,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_08_23_171354) do
t.index ["sale_start_at"], name: "index_ticket_types_on_sale_start_at"
end
create_table "tickets", force: :cascade do |t|
create_table "tickets", charset: "utf8mb4", collation: "utf8mb4_uca1400_ai_ci", force: :cascade do |t|
t.string "qr_code"
t.integer "price_cents"
t.string "status", default: "active"
@@ -63,7 +63,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_08_23_171354) do
t.index ["user_id"], name: "index_tickets_on_user_id"
end
create_table "users", force: :cascade do |t|
create_table "users", charset: "utf8mb4", collation: "utf8mb4_uca1400_ai_ci", force: :cascade do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
t.string "reset_password_token"
@@ -71,6 +71,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_08_23_171354) do
t.datetime "remember_created_at"
t.string "last_name"
t.string "first_name"
t.string "company_name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["email"], name: "index_users_on_email", unique: true