diff --git a/templates/with-postgres/src/migrations/20250211_180301_initial.json b/templates/with-postgres/src/migrations/20250227_171503_initial.json similarity index 99% rename from templates/with-postgres/src/migrations/20250211_180301_initial.json rename to templates/with-postgres/src/migrations/20250227_171503_initial.json index 62cd8e0d0..1961f415e 100644 --- a/templates/with-postgres/src/migrations/20250211_180301_initial.json +++ b/templates/with-postgres/src/migrations/20250227_171503_initial.json @@ -1,5 +1,5 @@ { - "id": "d1008610-2c21-4fa7-be4d-d42a2aef9de1", + "id": "68ffc268-6144-4470-8258-65a7d4d4bac6", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-postgres/src/migrations/20250211_180301_initial.ts b/templates/with-postgres/src/migrations/20250227_171503_initial.ts similarity index 100% rename from templates/with-postgres/src/migrations/20250211_180301_initial.ts rename to templates/with-postgres/src/migrations/20250227_171503_initial.ts diff --git a/templates/with-postgres/src/migrations/index.ts b/templates/with-postgres/src/migrations/index.ts index 4461bf8ae..0812d5350 100644 --- a/templates/with-postgres/src/migrations/index.ts +++ b/templates/with-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20250211_180301_initial from './20250211_180301_initial' +import * as migration_20250227_171503_initial from './20250227_171503_initial' export const migrations = [ { - up: migration_20250211_180301_initial.up, - down: migration_20250211_180301_initial.down, - name: '20250211_180301_initial', + up: migration_20250227_171503_initial.up, + down: migration_20250227_171503_initial.down, + name: '20250227_171503_initial', }, ] diff --git a/templates/with-postgres/src/payload-types.ts b/templates/with-postgres/src/payload-types.ts index 47c26925b..533bc86e7 100644 --- a/templates/with-postgres/src/payload-types.ts +++ b/templates/with-postgres/src/payload-types.ts @@ -64,6 +64,7 @@ export interface Config { auth: { users: UserAuthOperations; }; + blocks: {}; collections: { users: User; media: Media; diff --git a/templates/with-vercel-postgres/src/migrations/20250211_180236_initial.json b/templates/with-vercel-postgres/src/migrations/20250227_171438_initial.json similarity index 99% rename from templates/with-vercel-postgres/src/migrations/20250211_180236_initial.json rename to templates/with-vercel-postgres/src/migrations/20250227_171438_initial.json index dc7589156..186200375 100644 --- a/templates/with-vercel-postgres/src/migrations/20250211_180236_initial.json +++ b/templates/with-vercel-postgres/src/migrations/20250227_171438_initial.json @@ -1,5 +1,5 @@ { - "id": "62731a0a-be9c-4598-a5f6-6cea3879edfa", + "id": "9507702f-2302-45e9-ac4d-bd33b5d64a5a", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-vercel-postgres/src/migrations/20250211_180236_initial.ts b/templates/with-vercel-postgres/src/migrations/20250227_171438_initial.ts similarity index 100% rename from templates/with-vercel-postgres/src/migrations/20250211_180236_initial.ts rename to templates/with-vercel-postgres/src/migrations/20250227_171438_initial.ts diff --git a/templates/with-vercel-postgres/src/migrations/index.ts b/templates/with-vercel-postgres/src/migrations/index.ts index d37741fac..67a93f752 100644 --- a/templates/with-vercel-postgres/src/migrations/index.ts +++ b/templates/with-vercel-postgres/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20250211_180236_initial from './20250211_180236_initial' +import * as migration_20250227_171438_initial from './20250227_171438_initial' export const migrations = [ { - up: migration_20250211_180236_initial.up, - down: migration_20250211_180236_initial.down, - name: '20250211_180236_initial', + up: migration_20250227_171438_initial.up, + down: migration_20250227_171438_initial.down, + name: '20250227_171438_initial', }, ] diff --git a/templates/with-vercel-postgres/src/payload-types.ts b/templates/with-vercel-postgres/src/payload-types.ts index 47c26925b..533bc86e7 100644 --- a/templates/with-vercel-postgres/src/payload-types.ts +++ b/templates/with-vercel-postgres/src/payload-types.ts @@ -64,6 +64,7 @@ export interface Config { auth: { users: UserAuthOperations; }; + blocks: {}; collections: { users: User; media: Media; diff --git a/templates/with-vercel-website/src/migrations/20250211_180251_initial.json b/templates/with-vercel-website/src/migrations/20250227_171453_initial.json similarity index 99% rename from templates/with-vercel-website/src/migrations/20250211_180251_initial.json rename to templates/with-vercel-website/src/migrations/20250227_171453_initial.json index e965713bc..b06e70afc 100644 --- a/templates/with-vercel-website/src/migrations/20250211_180251_initial.json +++ b/templates/with-vercel-website/src/migrations/20250227_171453_initial.json @@ -1,5 +1,5 @@ { - "id": "3c0386a2-999b-411c-870f-e63333e8e833", + "id": "090f3356-1c23-4749-bf86-2191f58b85b4", "prevId": "00000000-0000-0000-0000-000000000000", "version": "7", "dialect": "postgresql", diff --git a/templates/with-vercel-website/src/migrations/20250211_180251_initial.ts b/templates/with-vercel-website/src/migrations/20250227_171453_initial.ts similarity index 100% rename from templates/with-vercel-website/src/migrations/20250211_180251_initial.ts rename to templates/with-vercel-website/src/migrations/20250227_171453_initial.ts diff --git a/templates/with-vercel-website/src/migrations/index.ts b/templates/with-vercel-website/src/migrations/index.ts index bcc8b7b34..dc6f1f047 100644 --- a/templates/with-vercel-website/src/migrations/index.ts +++ b/templates/with-vercel-website/src/migrations/index.ts @@ -1,9 +1,9 @@ -import * as migration_20250211_180251_initial from './20250211_180251_initial' +import * as migration_20250227_171453_initial from './20250227_171453_initial' export const migrations = [ { - up: migration_20250211_180251_initial.up, - down: migration_20250211_180251_initial.down, - name: '20250211_180251_initial', + up: migration_20250227_171453_initial.up, + down: migration_20250227_171453_initial.down, + name: '20250227_171453_initial', }, ] diff --git a/templates/with-vercel-website/src/payload-types.ts b/templates/with-vercel-website/src/payload-types.ts index 3d3c0e146..0873ab767 100644 --- a/templates/with-vercel-website/src/payload-types.ts +++ b/templates/with-vercel-website/src/payload-types.ts @@ -64,6 +64,7 @@ export interface Config { auth: { users: UserAuthOperations; }; + blocks: {}; collections: { pages: Page; posts: Post;