@tamyla/clodo-framework 3.0.6 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [3.0.7](https://github.com/tamylaa/clodo-framework/compare/v3.0.6...v3.0.7) (2025-10-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use --remote flag for D1 migrations since databases are created in Cloudflare ([1a94538](https://github.com/tamylaa/clodo-framework/commit/1a945389f9c4ae54a7ebc7c1ea4badc3b0ccaed2))
7
+
1
8
  ## [3.0.6](https://github.com/tamylaa/clodo-framework/compare/v3.0.5...v3.0.6) (2025-10-14)
2
9
 
3
10
 
@@ -318,9 +318,10 @@ export class MultiDomainOrchestrator {
318
318
  try {
319
319
  // Use the real applyDatabaseMigrations method
320
320
  // Note: bindingName defaults to 'DB' if not provided
321
+ // Since databases are created remotely via Cloudflare API, always use remote flag
321
322
  await this.databaseOrchestrator.applyDatabaseMigrations(databaseName, 'DB',
322
323
  // bindingName - wrangler.toml binding name
323
- this.environment, this.environment !== 'development' // isRemote for staging/production
324
+ this.environment, true // Always remote since databases are created in Cloudflare
324
325
  );
325
326
  console.log(` ✅ Migrations applied successfully`);
326
327
  } catch (migrationError) {
@@ -334,7 +335,8 @@ export class MultiDomainOrchestrator {
334
335
  databaseId,
335
336
  environment: this.environment,
336
337
  migrationsApplied: true,
337
- isRemote: this.environment !== 'development',
338
+ isRemote: true,
339
+ // Always remote since databases are created in Cloudflare
338
340
  created
339
341
  });
340
342
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamyla/clodo-framework",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "Reusable framework for Clodo-style software architecture on Cloudflare Workers + D1",
5
5
  "type": "module",
6
6
  "sideEffects": [