-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pg-info not returning certain table objects #68
Comments
Hi Lee, Are you sure you're referring to the pg-diff-sync package? The output you've referred to above with indexes, triggers etc is the product of the pg-info package |
No worries, we use lernajs to maintain our repository as a single "monorepo" so it's easier to manage our internal dependancies. That's why the issues are all just under the "Tymly" repo instead of individual packages. Are you still having the problem you mentioned when you opened up this issue @lee-40square? |
Yes. Still having the same problem. As an example.
Whereas
|
Hi @lee-40square, thanks for this. We'll need to do a quick investigation, but I'm thinking this issue might be down to the table being created in the
Many thanks Tim |
Yup, replicated! |
Yeah... moving to a {
"generated": "2018-05-11T11:47:59.954Z",
"schemas": {
"planes": {
"schemaExistsInDatabase": true,
"comment": null,
"tables": {
"aircraft_type": {
"comment": null,
"pkColumnNames": [
"id"
],
"columns": {
"id": {
"columnDefault": null,
"isNullable": "NO",
"dataType": "integer",
"characterMaximumLength": null,
"numericScale": 0,
"comment": null,
"array": false
}
},
"indexes": {},
"triggers": {},
"functions": {},
"fkConstraints": {}
},
"company": {
"comment": null,
"pkColumnNames": [
"id"
],
"columns": {
"id": {
"columnDefault": null,
"isNullable": "NO",
"dataType": "integer",
"characterMaximumLength": null,
"numericScale": 0,
"comment": null,
"array": false
}
},
"indexes": {},
"triggers": {},
"functions": {},
"fkConstraints": {}
},
"aircraft": {
"comment": null,
"pkColumnNames": [
"id"
],
"columns": {
"id": {
"columnDefault": "nextval('planes.aircraft_id_seq'::regclass)",
"isNullable": "NO",
"dataType": "integer",
"characterMaximumLength": null,
"numericScale": 0,
"comment": null,
"array": false
},
"company_id": {
"columnDefault": null,
"isNullable": "NO",
"dataType": "integer",
"characterMaximumLength": null,
"numericScale": 0,
"comment": null,
"array": false
},
"aircraft_type_id": {
"columnDefault": null,
"isNullable": "NO",
"dataType": "integer",
"characterMaximumLength": null,
"numericScale": 0,
"comment": null,
"array": false
},
"call_sign": {
"columnDefault": null,
"isNullable": "NO",
"dataType": "character varying",
"characterMaximumLength": null,
"numericScale": null,
"comment": null,
"array": false
},
"archived": {
"columnDefault": "false",
"isNullable": "YES",
"dataType": "boolean",
"characterMaximumLength": null,
"numericScale": null,
"comment": null,
"array": false
},
"aircraft_details": {
"columnDefault": null,
"isNullable": "NO",
"dataType": "jsonb",
"characterMaximumLength": null,
"numericScale": null,
"comment": null,
"array": false
},
"created": {
"columnDefault": "now()",
"isNullable": "YES",
"dataType": "timestamp with time zone",
"characterMaximumLength": null,
"numericScale": null,
"comment": null,
"array": false
},
"ttsn_settings": {
"columnDefault": null,
"isNullable": "YES",
"dataType": "jsonb",
"characterMaximumLength": null,
"numericScale": null,
"comment": null,
"array": false
},
"available": {
"columnDefault": null,
"isNullable": "YES",
"dataType": "boolean",
"characterMaximumLength": null,
"numericScale": null,
"comment": null,
"array": false
}
},
"indexes": {
"aircraft_id_key": {
"columns": [
[
"id"
]
],
"unique": true,
"method": "btree"
}
},
"triggers": {},
"functions": {},
"fkConstraints": {
"fk_aircraft_aircraft_type": {
"targetTable": "aircraft_type",
"sourceColumns": [
"aircraft_type_id"
],
"targetColumns": [
"id"
],
"updateAction": "CASCADE",
"deleteAction": "CASCADE",
"matchType": "SIMPLE"
},
"fk_aircraft_company": {
"targetTable": "company",
"sourceColumns": [
"company_id"
],
"targetColumns": [
"id"
],
"updateAction": "CASCADE",
"deleteAction": "CASCADE",
"matchType": "SIMPLE"
}
}
}
}
}
}
} |
...so there's an issue with things in |
Not sure if I'm missing something but it's not returning any of the following:
The text was updated successfully, but these errors were encountered: