free-framework 4.5.7 → 4.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-framework",
3
- "version": "4.5.7",
3
+ "version": "4.5.8",
4
4
  "description": "Professional Node.js engine for the .free language. Blazing-fast SSR, Islands Architecture, and built-in ORM.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,13 +1,17 @@
1
1
  # Free Framework Core Template Configuration
2
2
  # Production-ready defaults for Database, Security, and Routing
3
3
 
4
- # ── Database (MySQL Recommended) ──────────────────────────────────────────
5
- DB_CLIENT=mysql2
6
- DB_HOST=127.0.0.1
7
- DB_PORT=3306
8
- DB_USER=root
9
- DB_PASS=
10
- DB_NAME=free_db_default
4
+ # ── Database (SQLite Default - Change as needed) ───────────────────────────
5
+ DB_CLIENT=sqlite3
6
+ DB_PATH=database/database.sqlite
7
+
8
+ # MySQL (Recommended for Production)
9
+ # DB_CLIENT=mysql2
10
+ # DB_HOST=127.0.0.1
11
+ # DB_PORT=3306
12
+ # DB_USER=root
13
+ # DB_PASS=
14
+ # DB_NAME=free_db_default
11
15
 
12
16
  # Connection Pooling Settings
13
17
  DB_POOL_MIN=5
@@ -14,7 +14,7 @@
14
14
 
15
15
  module.exports = {
16
16
  // The default database connection to use.
17
- default: process.env.DB_CLIENT || 'mysql2',
17
+ default: process.env.DB_CLIENT || 'sqlite3',
18
18
 
19
19
  connections: {
20
20
  // High-performance MySQL connection settings