fix signin signout and apply the new style
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE "vehicles"
|
||||
ADD COLUMN "pickupLocations" TEXT[],
|
||||
ADD COLUMN "allowDifferentDropoff" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "dropoffLocations" TEXT[];
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
UPDATE "vehicles"
|
||||
SET
|
||||
"pickupLocations" = COALESCE("pickupLocations", ARRAY[]::TEXT[]),
|
||||
"dropoffLocations" = COALESCE("dropoffLocations", ARRAY[]::TEXT[]);
|
||||
|
||||
ALTER TABLE "vehicles"
|
||||
ALTER COLUMN "pickupLocations" SET DEFAULT ARRAY[]::TEXT[],
|
||||
ALTER COLUMN "pickupLocations" SET NOT NULL,
|
||||
ALTER COLUMN "dropoffLocations" SET DEFAULT ARRAY[]::TEXT[],
|
||||
ALTER COLUMN "dropoffLocations" SET NOT NULL;
|
||||
@@ -486,6 +486,9 @@ model Vehicle {
|
||||
mileage Int?
|
||||
notes String?
|
||||
isPublished Boolean @default(true)
|
||||
pickupLocations String[] @default([])
|
||||
allowDifferentDropoff Boolean @default(false)
|
||||
dropoffLocations String[] @default([])
|
||||
|
||||
reservations Reservation[]
|
||||
maintenance MaintenanceLog[]
|
||||
|
||||
@@ -115,7 +115,7 @@ export const defaultMarketplaceHomepageContent: MarketplaceHomepageConfig = {
|
||||
],
|
||||
stepsTitle: 'How companies launch',
|
||||
steps: [
|
||||
['1', 'Create your company workspace', 'Pick a plan, launch your 14-day trial, and verify the owner account.'],
|
||||
['1', 'Create your company workspace', 'Pick a plan, launch your 90-day trial, and verify the owner account.'],
|
||||
['2', 'Publish vehicles and offers', 'Upload photos once and control what appears on the marketplace and branded site.'],
|
||||
['3', 'Accept bookings on your own site', 'Renters discover your fleet on RentalDriveGo, then pay you directly on your branded booking flow.'],
|
||||
].map(([step, title, body]) => ({ step: step!, title: title!, body: body! })),
|
||||
@@ -170,7 +170,7 @@ export const defaultMarketplaceHomepageContent: MarketplaceHomepageConfig = {
|
||||
],
|
||||
stepsTitle: 'Comment les entreprises démarrent',
|
||||
steps: [
|
||||
['1', 'Créez votre espace entreprise', 'Choisissez un plan, lancez votre essai de 14 jours et vérifiez le compte propriétaire.'],
|
||||
['1', 'Créez votre espace entreprise', 'Choisissez un plan, lancez votre essai de 90 jours et vérifiez le compte propriétaire.'],
|
||||
['2', 'Publiez véhicules et offres', 'Téléversez une seule fois et contrôlez ce qui apparaît sur la marketplace et le site de marque.'],
|
||||
['3', 'Acceptez les réservations sur votre site', 'Les clients découvrent votre flotte sur RentalDriveGo puis paient directement via votre parcours de réservation.'],
|
||||
].map(([step, title, body]) => ({ step: step!, title: title!, body: body! })),
|
||||
|
||||
Reference in New Issue
Block a user