We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13a914b commit 4354e83Copy full SHA for 4354e83
src/Resolvers/SchemaRulesResolverPgSql.php
@@ -24,7 +24,7 @@ protected function getColumnsDefinitionsFromTable()
24
'
25
SELECT column_name, data_type, character_maximum_length, is_nullable, column_default
26
FROM INFORMATION_SCHEMA.COLUMNS
27
- WHERE table_name = :table',
+ WHERE table_name = :table ORDER BY ordinal_position',
28
['table' => $tableName]
29
))->keyBy('column_name')->toArray();
30
0 commit comments