mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-14 15:07:29 +02:00
✨ Add spaces concept (#1776)
This commit is contained in:
parent
92a72dde60
commit
04fcc0350f
21 changed files with 389 additions and 93 deletions
|
@ -11,6 +11,12 @@ export async function seedUsers() {
|
|||
name: "Dev User",
|
||||
email: "dev@rallly.co",
|
||||
timeZone: "America/New_York",
|
||||
spaces: {
|
||||
create: {
|
||||
id: "space-1",
|
||||
name: "Personal",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -21,6 +27,12 @@ export async function seedUsers() {
|
|||
id: "pro-user",
|
||||
name: "Pro User",
|
||||
email: "dev+pro@rallly.co",
|
||||
spaces: {
|
||||
create: {
|
||||
id: "space-2",
|
||||
name: "Personal",
|
||||
},
|
||||
},
|
||||
subscription: {
|
||||
create: {
|
||||
id: "sub_123",
|
||||
|
@ -32,6 +44,7 @@ export async function seedUsers() {
|
|||
priceId: "price_123",
|
||||
periodStart: new Date(),
|
||||
periodEnd: dayjs().add(1, "month").toDate(),
|
||||
spaceId: "space-2",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue