Commit 467cb4b
committed
refactor: flow-php/postgresql - migrations core
chore: introduce parameters() dsl function to posgresql client
feature: introduce schema to flow-php/postgresql
- create schema definition
- read whole Catalog from a postgresql db
- added dependeny from flow-php/types
- created TypeMapper to quickly map rows into collections of structures
feature: catalog comparator
- including comparator for all db objects
refactor: move parsing data type string to dedicated parser
refactor: unify naming convetion with colum and value type
refactoring: optimizations and renames
- geneate diff sql's for migratiosn up/down
- unify naming of postgresql dsl
- cover unlogged tables
- added toSql() to Schema objects
feature: missing postgresql table options
feature: table rename detection
refactor: remove RawCondition and RawExpression
- unify DSL
- replace inline strings with proper query builders in tests
refactor: split postgresql dsl into smaller files
refactor: simplify diffs to return only one way migration sqls
refactor: make diffs to return query builders
feature: improve rename strategies
- introduce similarity names abstraction
- introduce rename strategy abstraction
feature: detect if the view requires an update
refactor: allow to pass strings instead of col() table() expressions
- update documentation
fix: introduce execution order strategy
chore: flow-php/postgresql-migrations skeleton1 parent ab43f9e commit 467cb4b
File tree
422 files changed
+29889
-13723
lines changed- .github/workflows
- bin
- documentation
- components/libs
- postgresql
- installation/packages
- phpdoc
- src
- adapter/etl-adapter-postgresql
- src/Flow/ETL/Adapter/PostgreSql
- QueryBuilder
- ValueConverter
- tests/Flow/ETL/Adapter/PostgreSql/Tests
- Integration
- Unit
- QueryBuilder
- ValueConverter
- core/etl
- src/Flow/ETL/Attribute
- tests/Flow/ETL/Tests/Integration/Function
- lib
- postgresql-migrations
- .github/workflows
- src/Flow/PostgreSql/Migrations
- DSL
- tests/Flow/PostgreSql/Migrations/Tests
- Integration
- Unit
- postgresql
- src/Flow/PostgreSql
- Client
- Exception
- Infrastructure/PgSql
- RowMapper
- Telemetry
- Types
- Converter
- DSL
- Parser
- QueryBuilder
- Condition
- Delete
- Expression
- Schema
- AlterTable
- Constraint
- Domain
- Function
- Index/CreateIndex
- Rule
- Type
- Select
- Update
- Schema
- Constraint
- Diff
- Exception
- tests/Flow/PostgreSql/Tests
- Integration
- Client
- Telemetry
- Types/Converter
- QueryBuilder
- Assertions
- Database
- Unit
- Client
- RowMapper
- Telemetry
- Types
- Converter
- DSL
- Parser
- QueryBuilder
- Condition
- Copy
- Delete
- Expression
- Insert
- Merge
- Schema
- AlterTable
- Constraint
- CreateSequence
- CreateTableAs
- CreateTable
- Domain
- Extension
- Function
- Index
- Role
- Rule
- Schema
- Trigger
- Type
- View
- Select
- Table
- Transaction
- Update
- Utility
- Schema
- Constraint
- Diff
- tools
- blackfire
- box
- cs-fixer
- infection
- monorepo
- phpdocumentor
- phpstan
- phpunit
- rector
- web/landing
- assets/codemirror/completions
- resources
- src/Flow/Website/Model/Documentation
- templates/documentation
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
422 files changed
+29889
-13723
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| 161 | + | |
160 | 162 | | |
161 | 163 | | |
162 | 164 | | |
| |||
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
207 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
208 | 214 | | |
| 215 | + | |
209 | 216 | | |
210 | 217 | | |
211 | 218 | | |
| |||
250 | 257 | | |
251 | 258 | | |
252 | 259 | | |
| 260 | + | |
253 | 261 | | |
254 | 262 | | |
255 | 263 | | |
| |||
296 | 304 | | |
297 | 305 | | |
298 | 306 | | |
| 307 | + | |
299 | 308 | | |
300 | 309 | | |
301 | 310 | | |
| |||
371 | 380 | | |
372 | 381 | | |
373 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
374 | 387 | | |
375 | 388 | | |
376 | 389 | | |
| |||
0 commit comments