parent
34e2f47761
commit
a2adb67d2f
|
@ -361,7 +361,7 @@ if (isset($_GET["mssql"])) {
|
|||
|
||||
function fields($table) {
|
||||
$return = array();
|
||||
foreach (get_rows("SELECT c.*, t.name type, d.definition [default]
|
||||
foreach (get_rows("SELECT c.max_length, c.precision, c.scale, c.name, c.is_nullable, c.is_identity, c.collation_name, t.name type, CAST(d.definition as text) [default]
|
||||
FROM sys.all_columns c
|
||||
JOIN sys.all_objects o ON c.object_id = o.object_id
|
||||
JOIN sys.types t ON c.user_type_id = t.user_type_id
|
||||
|
|
|
@ -5,6 +5,7 @@ SQLite: Enable foreign key checks
|
|||
PostgreSQL: Respect NULL default value
|
||||
PostgreSQL: Do not export triggers if not requested
|
||||
PostgreSQL: Export DROP SEQUENCE if dropping table
|
||||
MS SQL: Support freetds
|
||||
Elasticsearch: Insert, update, delete
|
||||
MongoDB: Support mongodb PHP extension
|
||||
|
||||
|
|
Loading…
Reference in a new issue