This commit fixes the alter type dropdown on modify page
to show only valid datatypes.
Fixes: #544
The valid datatypes are as follows:
### From integer/ integer auto increment:
1. integer auto increment
2. big int
3. big int auto increment
4. numeric
5. text
### From uuid:
1. text
### From big int/ big int auto increment:
1. big int auto increment
2. text
3. numeric
### json and jsonb can be changed to one another.
### Don't allow change of datatype for text, ~~date, timestamp, time and boolean~~.
### Allow change of datatype to text for date, timestamp, time and boolean.
Server templates `consolePath` key in `window.__env` object in console html template.
If server is hit at `/console/table/author` then `window.__env` in served html looks like
```
{
consoleMode: "server",
urlPrefix: "/console",
consolePath: "/console/table/author",
isAccessKeySet: true
}
```
* remove phase one/two distinction and hdbquery typeclass
* move extensions to default-extensions
* switch to LazyTx which only acquires a connection if needed
* move defns from TH module into Ops module
* remove tojson orphan instance for http exception
* remove orphan instance for dmlp1
* getTopLevelNodes will not throw any exceptions
* support for count and aggregations on columns, close#786
* support explain query for aggregations
* '<arr-rel>_agg' in '<table>' type, fix order by for aggregations
* add 'allow_aggregations' key in select permissions
* Add checkbox to toggle count and aggregations on columns on select permission
* align aggregation checkbox with columns div
* improve readability of the generated sql
* alias is needed at the top level aggregation
* throw internal errors for unexpected fields
* rename SelFld to more readable TableAggFld
* rename agg to aggregate
* Send headers as part of request headers too
* Disable helper functions from linting
* Update hasura-console-graphiql to filter mutations from analyze list
* Update hasura-console-graphiql to 0.0.6