feat: Implement the promoter event creation
Some checks failed
Ruby on Rails Test / rails-test (push) Failing after 1m50s

- Promoter can now create an event in draft mode
- Place is found based on address and long/lat are automatically
  deducted from it
- Slug is forged using the *slug* npm package instead of custom code
This commit is contained in:
kbe
2025-09-10 20:46:31 +02:00
parent 332827c6da
commit 10c93fff2f
19 changed files with 552 additions and 1661 deletions

9
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_09_08_092220) do
ActiveRecord::Schema[8.0].define(version: 2025_08_23_171354) do
create_table "events", charset: "utf8mb4", collation: "utf8mb4_uca1400_ai_ci", force: :cascade do |t|
t.string "name", null: false
t.string "slug", null: false
@@ -90,11 +90,16 @@ ActiveRecord::Schema[8.0].define(version: 2025_09_08_092220) do
t.datetime "remember_created_at"
t.string "last_name"
t.string "first_name"
t.boolean "is_professionnal", default: false
t.string "company_name"
t.string "company_address"
t.string "company_phone"
t.string "company_email"
t.string "company_website"
t.string "stripe_customer_id"
t.boolean "onboarding_completed", default: false, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.boolean "onboarding_completed", default: false, null: false
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
end