Ask for organization business field at signup, including jewelry.
Store Didar-style industry on the org so registration, settings, and Ask Mento share the same catalog. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Organization" ADD COLUMN "businessField" TEXT;
|
||||
@@ -134,6 +134,8 @@ model Organization {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
slug String @unique
|
||||
/// زمینه فعالیت سازمان — فهرست همتراز صنایع دیدار
|
||||
businessField String?
|
||||
baseCurrency String @default("IRR")
|
||||
enabledCurrencies String[] @default(["IRR", "USD", "EUR"])
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@ -34,6 +34,7 @@ async function main() {
|
||||
slug: 'demo-mento',
|
||||
baseCurrency: 'IRR',
|
||||
enabledCurrencies: ['IRR', 'USD', 'EUR'],
|
||||
businessField: 'tech',
|
||||
users: {
|
||||
create: {
|
||||
email,
|
||||
@@ -60,6 +61,7 @@ async function main() {
|
||||
data: {
|
||||
baseCurrency: 'IRR',
|
||||
enabledCurrencies: ['IRR', 'USD', 'EUR'],
|
||||
businessField: 'tech',
|
||||
},
|
||||
});
|
||||
for (const row of [
|
||||
|
||||
Reference in New Issue
Block a user