Commit a5c69a3
committed
docs: remove obsolete config.example.php and update all documentation
Removed:
- examples/config.example.php (obsolete multi-dialect format)
- Used old array format with keys: ['mysql' => [...], 'pgsql' => [...]]
- No longer compatible with current architecture
- All actual configs already in repo
Updated Documentation:
- README.md: Removed config creation instructions (configs already exist)
- examples/README.md: Updated status table - all configs included
- scripts/test-examples.sh: Updated tip message (no config.example.php reference)
Current Architecture (CORRECT):
✅ examples/config.sqlite.php - ready to use (:memory:)
✅ examples/config.mysql.php - update credentials and run
✅ examples/config.pgsql.php - update credentials and run
.gitignore Update:
- Removed examples/config.php from ignore (not used anymore)
- Added comment: config.*.php files tracked in repo with default credentials
- Users just update credentials, no copying needed
User Experience:
Before: "Copy config.example.php to config.php, then edit"
After: "Edit config.mysql.php with your credentials"
Much simpler and less confusing!
Testing:
✅ All 21 examples still pass on all 3 dialects (63/63)1 parent b82227b commit a5c69a3
5 files changed
Lines changed: 15 additions & 95 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 130 | + | |
145 | 131 | | |
146 | 132 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 133 | + | |
161 | 134 | | |
162 | 135 | | |
163 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
28 | 18 | | |
29 | 19 | | |
30 | 20 | | |
31 | 21 | | |
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
47 | 28 | | |
48 | 29 | | |
49 | 30 | | |
| |||
64 | 45 | | |
65 | 46 | | |
66 | 47 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
70 | 51 | | |
71 | 52 | | |
72 | 53 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments