foundry-rs 0.3.4

Configuration-driven REST backend library for Rust with PostgreSQL — define schemas, tables, and APIs in JSON, get a production-grade REST service.
Documentation
[
  {
    "id": "col_users_id",
    "table_id": "tbl_users",
    "name": "id",
    "type": "uuid",
    "nullable": false,
    "default": { "expression": "gen_random_uuid()" },
    "comment": null
  },
  {
    "id": "col_users_email",
    "table_id": "tbl_users",
    "name": "email",
    "type": "varchar(255)",
    "nullable": false,
    "default": null,
    "comment": null
  },
  {
    "id": "col_users_first_name",
    "table_id": "tbl_users",
    "name": "first_name",
    "type": "varchar(255)",
    "nullable": false,
    "default": null,
    "comment": null
  },
  {
    "id": "col_orders_id",
    "table_id": "tbl_orders",
    "name": "id",
    "type": "bigserial",
    "nullable": false,
    "default": null,
    "comment": null
  },
  {
    "id": "col_orders_user_id",
    "table_id": "tbl_orders",
    "name": "user_id",
    "type": "uuid",
    "nullable": false,
    "default": null,
    "comment": "References users.id"
  },
  {
    "id": "col_orders_status",
    "table_id": "tbl_orders",
    "name": "status",
    "type": "sample.order_status",
    "nullable": false,
    "default": "'pending'",
    "comment": null
  }
]