{
    "tables": [
        {
            "name": "film",
            "columns": [
                {
                    "name": "film_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "language_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "original_language_id",
                    "type": "smallint",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "title",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 255,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "description",
                    "type": "text",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "release_year",
                    "type": "date",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_duration",
                    "type": "smallint",
                    "notNull": true,
                    "default": "3",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_rate",
                    "type": "decimal",
                    "notNull": true,
                    "default": "4.99",
                    "length": null,
                    "fixed": false,
                    "precision": 4,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "length",
                    "type": "smallint",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "replacement_cost",
                    "type": "decimal",
                    "notNull": true,
                    "default": "19.99",
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rating",
                    "type": "string",
                    "notNull": false,
                    "default": "G",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "special_features",
                    "type": "string",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "fulltext",
                    "type": "text",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_original_language_id",
                    "columns": [
                        "original_language_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "film_fulltext_idx",
                    "columns": [
                        "fulltext"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "film_pkey",
                    "columns": [
                        "film_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_title",
                    "columns": [
                        "title"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_language_id",
                    "columns": [
                        "language_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": [
                {
                    "name": "film_language_id_fkey",
                    "localTable": "film",
                    "foreignTable": "language",
                    "localColumns": [
                        "language_id"
                    ],
                    "foreignColumns": [
                        "language_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "film_original_language_id_fkey",
                    "localTable": "film",
                    "foreignTable": "language",
                    "localColumns": [
                        "original_language_id"
                    ],
                    "foreignColumns": [
                        "language_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "actor",
            "columns": [
                {
                    "name": "actor_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "first_name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 45,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 45,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_actor_last_name",
                    "columns": [
                        "last_name"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "actor_pkey",
                    "columns": [
                        "actor_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": []
        },
        {
            "name": "address",
            "columns": [
                {
                    "name": "address_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "city_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "address",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 50,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "address2",
                    "type": "string",
                    "notNull": false,
                    "default": null,
                    "length": 50,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "district",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 20,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "postal_code",
                    "type": "string",
                    "notNull": false,
                    "default": null,
                    "length": 10,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "phone",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 20,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "address_pkey",
                    "columns": [
                        "address_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_city_id",
                    "columns": [
                        "city_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": [
                {
                    "name": "address_city_id_fkey",
                    "localTable": "address",
                    "foreignTable": "city",
                    "localColumns": [
                        "city_id"
                    ],
                    "foreignColumns": [
                        "city_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "category",
            "columns": [
                {
                    "name": "category_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 25,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "category_pkey",
                    "columns": [
                        "category_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": []
        },
        {
            "name": "city",
            "columns": [
                {
                    "name": "city_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "country_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "city",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 50,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "city_pkey",
                    "columns": [
                        "city_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_country_id",
                    "columns": [
                        "country_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": [
                {
                    "name": "city_country_id_fkey",
                    "localTable": "city",
                    "foreignTable": "country",
                    "localColumns": [
                        "country_id"
                    ],
                    "foreignColumns": [
                        "country_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "country",
            "columns": [
                {
                    "name": "country_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "country",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 50,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "country_pkey",
                    "columns": [
                        "country_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": []
        },
        {
            "name": "customer",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "store_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "address_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "first_name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 45,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 45,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "email",
                    "type": "string",
                    "notNull": false,
                    "default": null,
                    "length": 50,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "activebool",
                    "type": "boolean",
                    "notNull": true,
                    "default": true,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "create_date",
                    "type": "date",
                    "notNull": true,
                    "default": "now",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": false,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "active",
                    "type": "integer",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_store_id",
                    "columns": [
                        "store_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "customer_pkey",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_last_name",
                    "columns": [
                        "last_name"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_address_id",
                    "columns": [
                        "address_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": [
                {
                    "name": "customer_address_id_fkey",
                    "localTable": "customer",
                    "foreignTable": "address",
                    "localColumns": [
                        "address_id"
                    ],
                    "foreignColumns": [
                        "address_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "customer_store_id_fkey",
                    "localTable": "customer",
                    "foreignTable": "store",
                    "localColumns": [
                        "store_id"
                    ],
                    "foreignColumns": [
                        "store_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "film_actor",
            "columns": [
                {
                    "name": "actor_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "film_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_film_id",
                    "columns": [
                        "film_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "film_actor_pkey",
                    "columns": [
                        "actor_id",
                        "film_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null,
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_DD19A8A910DAF24A",
                    "columns": [
                        "actor_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "film_actor_actor_id_fkey",
                    "localTable": "film_actor",
                    "foreignTable": "actor",
                    "localColumns": [
                        "actor_id"
                    ],
                    "foreignColumns": [
                        "actor_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "film_actor_film_id_fkey",
                    "localTable": "film_actor",
                    "foreignTable": "film",
                    "localColumns": [
                        "film_id"
                    ],
                    "foreignColumns": [
                        "film_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "film_category",
            "columns": [
                {
                    "name": "film_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "category_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "film_category_pkey",
                    "columns": [
                        "film_id",
                        "category_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null,
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_A4CBD6A812469DE2",
                    "columns": [
                        "category_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                },
                {
                    "name": "IDX_A4CBD6A8567F5183",
                    "columns": [
                        "film_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "film_category_category_id_fkey",
                    "localTable": "film_category",
                    "foreignTable": "category",
                    "localColumns": [
                        "category_id"
                    ],
                    "foreignColumns": [
                        "category_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "film_category_film_id_fkey",
                    "localTable": "film_category",
                    "foreignTable": "film",
                    "localColumns": [
                        "film_id"
                    ],
                    "foreignColumns": [
                        "film_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "inventory",
            "columns": [
                {
                    "name": "inventory_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "film_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "store_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_store_id_film_id",
                    "columns": [
                        "store_id",
                        "film_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null,
                            null
                        ]
                    }
                },
                {
                    "name": "inventory_pkey",
                    "columns": [
                        "inventory_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_B12D4A36567F5183",
                    "columns": [
                        "film_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                },
                {
                    "name": "IDX_B12D4A36B092A811",
                    "columns": [
                        "store_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "inventory_film_id_fkey",
                    "localTable": "inventory",
                    "foreignTable": "film",
                    "localColumns": [
                        "film_id"
                    ],
                    "foreignColumns": [
                        "film_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "inventory_store_id_fkey",
                    "localTable": "inventory",
                    "foreignTable": "store",
                    "localColumns": [
                        "store_id"
                    ],
                    "foreignColumns": [
                        "store_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "language",
            "columns": [
                {
                    "name": "language_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 20,
                    "fixed": true,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "language_pkey",
                    "columns": [
                        "language_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                }
            ],
            "foreignKeys": []
        },
        {
            "name": "rental",
            "columns": [
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "inventory_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "return_date",
                    "type": "datetime",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "rental_pkey",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_unq_rental_rental_date_inventory_id_customer_id",
                    "columns": [
                        "rental_date",
                        "inventory_id",
                        "customer_id"
                    ],
                    "isUnique": true,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null,
                            null,
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_inventory_id",
                    "columns": [
                        "inventory_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_1619C27D9395C3F3",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                },
                {
                    "name": "IDX_1619C27DD4D57CD",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "rental_customer_id_fkey",
                    "localTable": "rental",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "rental_inventory_id_fkey",
                    "localTable": "rental",
                    "foreignTable": "inventory",
                    "localColumns": [
                        "inventory_id"
                    ],
                    "foreignColumns": [
                        "inventory_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "rental_staff_id_fkey",
                    "localTable": "rental",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "staff",
            "columns": [
                {
                    "name": "staff_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "address_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "store_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "first_name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 45,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_name",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 45,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "email",
                    "type": "string",
                    "notNull": false,
                    "default": null,
                    "length": 50,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "active",
                    "type": "boolean",
                    "notNull": true,
                    "default": true,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "username",
                    "type": "string",
                    "notNull": true,
                    "default": null,
                    "length": 16,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "password",
                    "type": "string",
                    "notNull": false,
                    "default": null,
                    "length": 40,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "picture",
                    "type": "blob",
                    "notNull": false,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "staff_pkey",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_426EF392F5B7AF75",
                    "columns": [
                        "address_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                },
                {
                    "name": "IDX_426EF392B092A811",
                    "columns": [
                        "store_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "staff_address_id_fkey",
                    "localTable": "staff",
                    "foreignTable": "address",
                    "localColumns": [
                        "address_id"
                    ],
                    "foreignColumns": [
                        "address_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "staff_store_id_fkey",
                    "localTable": "staff",
                    "foreignTable": "store",
                    "localColumns": [
                        "store_id"
                    ],
                    "foreignColumns": [
                        "store_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "store",
            "columns": [
                {
                    "name": "store_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "manager_staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "address_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "last_update",
                    "type": "datetime",
                    "notNull": true,
                    "default": "now()",
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_unq_manager_staff_id",
                    "columns": [
                        "manager_staff_id"
                    ],
                    "isUnique": true,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "store_pkey",
                    "columns": [
                        "store_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_FF575877F5B7AF75",
                    "columns": [
                        "address_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "store_address_id_fkey",
                    "localTable": "store",
                    "foreignTable": "address",
                    "localColumns": [
                        "address_id"
                    ],
                    "foreignColumns": [
                        "address_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "store_manager_staff_id_fkey",
                    "localTable": "store",
                    "foreignTable": "staff",
                    "localColumns": [
                        "manager_staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment",
            "columns": [
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "payment_pkey",
                    "columns": [
                        "payment_id"
                    ],
                    "isUnique": true,
                    "isPrimary": true,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_6D28840DA7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_customer_id_fkey",
                    "localTable": "payment",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_rental_id_fkey",
                    "localTable": "payment",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": "SET NULL",
                    "options": []
                },
                {
                    "name": "payment_staff_id_fkey",
                    "localTable": "payment",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": "CASCADE",
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment_p2007_01",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_payment_p2007_01_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_payment_p2007_01_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_9797989DA7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_p2007_01_customer_id_fkey",
                    "localTable": "payment_p2007_01",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_01_rental_id_fkey",
                    "localTable": "payment_p2007_01",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_01_staff_id_fkey",
                    "localTable": "payment_p2007_01",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment_p2007_02",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_payment_p2007_02_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_payment_p2007_02_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_E9EC927A7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_p2007_02_rental_id_fkey",
                    "localTable": "payment_p2007_02",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_02_staff_id_fkey",
                    "localTable": "payment_p2007_02",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_02_customer_id_fkey",
                    "localTable": "payment_p2007_02",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment_p2007_03",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_payment_p2007_03_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_payment_p2007_03_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_7999F9B1A7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_p2007_03_customer_id_fkey",
                    "localTable": "payment_p2007_03",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_03_rental_id_fkey",
                    "localTable": "payment_p2007_03",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_03_staff_id_fkey",
                    "localTable": "payment_p2007_03",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment_p2007_04",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_payment_p2007_04_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_payment_p2007_04_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_E7FD6C12A7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_p2007_04_customer_id_fkey",
                    "localTable": "payment_p2007_04",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_04_rental_id_fkey",
                    "localTable": "payment_p2007_04",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_04_staff_id_fkey",
                    "localTable": "payment_p2007_04",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment_p2007_05",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_payment_p2007_05_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_payment_p2007_05_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_90FA5C84A7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_p2007_05_customer_id_fkey",
                    "localTable": "payment_p2007_05",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_05_rental_id_fkey",
                    "localTable": "payment_p2007_05",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_05_staff_id_fkey",
                    "localTable": "payment_p2007_05",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        },
        {
            "name": "payment_p2007_06",
            "columns": [
                {
                    "name": "customer_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "staff_id",
                    "type": "smallint",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "rental_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_id",
                    "type": "integer",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": true,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "amount",
                    "type": "decimal",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 5,
                    "scale": 2,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                },
                {
                    "name": "payment_date",
                    "type": "datetime",
                    "notNull": true,
                    "default": null,
                    "length": null,
                    "fixed": false,
                    "precision": 10,
                    "scale": 0,
                    "unsigned": false,
                    "platformOptions": [],
                    "autoincrement": false,
                    "definition": null,
                    "comment": null
                }
            ],
            "indexes": [
                {
                    "name": "idx_fk_payment_p2007_06_staff_id",
                    "columns": [
                        "staff_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "idx_fk_payment_p2007_06_customer_id",
                    "columns": [
                        "customer_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": {
                        "lengths": [
                            null
                        ]
                    }
                },
                {
                    "name": "IDX_9F30D3EA7CF2329",
                    "columns": [
                        "rental_id"
                    ],
                    "isUnique": false,
                    "isPrimary": false,
                    "flags": [],
                    "options": []
                }
            ],
            "foreignKeys": [
                {
                    "name": "payment_p2007_06_customer_id_fkey",
                    "localTable": "payment_p2007_06",
                    "foreignTable": "customer",
                    "localColumns": [
                        "customer_id"
                    ],
                    "foreignColumns": [
                        "customer_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_06_rental_id_fkey",
                    "localTable": "payment_p2007_06",
                    "foreignTable": "rental",
                    "localColumns": [
                        "rental_id"
                    ],
                    "foreignColumns": [
                        "rental_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                },
                {
                    "name": "payment_p2007_06_staff_id_fkey",
                    "localTable": "payment_p2007_06",
                    "foreignTable": "staff",
                    "localColumns": [
                        "staff_id"
                    ],
                    "foreignColumns": [
                        "staff_id"
                    ],
                    "onUpdate": null,
                    "onDelete": null,
                    "options": []
                }
            ]
        }
    ]
}
