-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
c/consoleRelated to consoleRelated to consolee/quickfixcan be wrapped up in few hourscan be wrapped up in few hoursk/bugSomething isn't workingSomething isn't workingp/urgentImmediate action requiredImmediate action required
Description
i have created a schema with
CREATE SCHEMA "13e35957-db6d-4d28-9d75-53b2f765cbfa"
and i cannot add any table into the schema on Hasura dashboard because the SQL is not generated correctly
{
"statement": "CREATE TABLE 13e35957-db6d-4d28-9d75-53b2f765cbfa.\"student\"(\"id\" serial NOT NULL, \"name\" text NOT NULL, PRIMARY KEY (\"id\") );",
"prepared": false,
"error": {
"exec_status": "FatalError",
"hint": null,
"message": "syntax error at or near \"13e35957\"",
"status_code": "42601",
"description": null
},
"arguments": []
}
it will raise syntax error because we should change into
{
"statement": "CREATE TABLE \"13e35957-db6d-4d28-9d75-53b2f765cbfa\".\"student\"(\"id\" serial NOT NULL, \"name\" text NOT NULL, PRIMARY KEY (\"id\") );",
"prepared": false,
"error": {
"exec_status": "FatalError",
"hint": null,
"message": "syntax error at or near \"13e35957\"",
"status_code": "42601",
"description": null
},
"arguments": []
}
Metadata
Metadata
Assignees
Labels
c/consoleRelated to consoleRelated to consolee/quickfixcan be wrapped up in few hourscan be wrapped up in few hoursk/bugSomething isn't workingSomething isn't workingp/urgentImmediate action requiredImmediate action required