feat: Introduce company name on event description
This commit is contained in:
@@ -36,6 +36,13 @@ class DeviseCreateUsers < ActiveRecord::Migration[8.0]
|
||||
t.string :last_name, null: true # Nom
|
||||
t.string :first_name, null: true # Prénom
|
||||
|
||||
# Company informations
|
||||
t.string :company_name, null: true # Nom de la société
|
||||
# t.string :company_address, null: true # Adresse de la société
|
||||
# t.string :company_phone, null: true # Téléphone de la société
|
||||
# t.string :company_email, null: true # Email de la société
|
||||
# t.string :company_website, null: true # Site web de la société
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
|
||||
|
||||
9
db/schema.rb
generated
9
db/schema.rb
generated
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user