diff --git a/cafe.cafe.xml b/cafe.cafe.xml index bbdcbc1..423478d 100644 --- a/cafe.cafe.xml +++ b/cafe.cafe.xml @@ -32,12 +32,12 @@ - + - + diff --git a/columns.html b/columns.html index 5eba575..54cf314 100644 --- a/columns.html +++ b/columns.html @@ -116,36 +116,8 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "TEXT", - "length": 65535, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "user", - "tableFileName": "user", - "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>email", - "type": "VARCHAR", - "length": 320, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "order_product", - "tableFileName": "order_product", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>order_id", - "type": "INT UNSIGNED", + "name": "price", + "type": "DECIMAL", "length": 10, "nullable": "", "autoUpdated": "", @@ -180,15 +152,43 @@

Columns

"defaultValue": "0", "comments": "

Whether token has been used once<\/p>" }, + { + "tableName": "order_product", + "tableFileName": "order_product", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "unit_price", + "type": "DECIMAL", + "length": 10, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Unit price of product<\/p>" + }, + { + "tableName": "password_change_request", + "tableFileName": "password_change_request", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "expiry_date", + "type": "DATETIME", + "length": 19, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "" + }, { "tableName": "order_product", "tableFileName": "order_product", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>milk_type", - "type": "enum('almond', 'coconut', 'oat', 'soy')", - "length": 7, + "name": "<\/i>cup_size", + "type": "enum('small', 'medium', 'large')", + "length": 6, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -198,11 +198,11 @@

Columns

"tableName": "user", "tableFileName": "user", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "first_name", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>email", "type": "VARCHAR", - "length": 255, + "length": 320, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -212,11 +212,11 @@

Columns

"tableName": "store", "tableFileName": "store", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "city", - "type": "VARCHAR", - "length": 255, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>district_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -228,9 +228,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "category", + "name": "img_alt_text", "type": "VARCHAR", - "length": 50, + "length": 150, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -242,23 +242,23 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_date", - "type": "DATETIME", - "length": 19, + "name": "description", + "type": "TEXT", + "length": 65535, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", + "defaultValue": "null", "comments": "" }, { "tableName": "client", "tableFileName": "client", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>district_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "city", + "type": "VARCHAR", + "length": 255, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -270,7 +270,7 @@

Columns

"tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>product_id", + "name": "<\/i>store_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", @@ -282,13 +282,13 @@

Columns

"tableName": "product", "tableFileName": "product", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "name", - "type": "VARCHAR", - "length": 255, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>product_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", - "autoUpdated": "", + "autoUpdated": "√", "defaultValue": "null", "comments": "" }, @@ -296,11 +296,11 @@

Columns

"tableName": "administrator", "tableFileName": "administrator", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "job_title", - "type": "VARCHAR", - "length": 255, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>user_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -312,13 +312,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "unit_price", - "type": "DECIMAL", + "name": "quantity", + "type": "INT UNSIGNED", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Unit price of product<\/p>" + "comments": "" }, { "tableName": "user", @@ -326,7 +326,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "password", + "name": "first_name", "type": "VARCHAR", "length": 255, "nullable": "", @@ -335,16 +335,16 @@

Columns

"comments": "" }, { - "tableName": "comment", - "tableFileName": "comment", + "tableName": "client", + "tableFileName": "client", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>comment_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>district_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", "comments": "" }, @@ -352,11 +352,11 @@

Columns

"tableName": "password_change_request", "tableFileName": "password_change_request", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "token_hash", - "type": "VARCHAR", - "length": 255, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>user_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -366,14 +366,28 @@

Columns

"tableName": "comment", "tableFileName": "comment", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "text", - "type": "VARCHAR", - "length": 2000, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>review_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", + "comments": "

ID of review under which comment is found<\/p>" + }, + { + "tableName": "comment", + "tableFileName": "comment", + "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>comment_id", + "type": "INT UNSIGNED", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", "comments": "" }, { @@ -382,26 +396,26 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_date", - "type": "DATETIME", - "length": 19, + "name": "text", + "type": "VARCHAR", + "length": 2000, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", + "defaultValue": "null", "comments": "" }, { - "tableName": "order", - "tableFileName": "order", + "tableName": "district", + "tableFileName": "district", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "status", - "type": "enum('pending', 'cancelled', 'completed')", - "length": 9, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>district_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "pending", + "autoUpdated": "√", + "defaultValue": "null", "comments": "" }, { @@ -410,9 +424,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", - "type": "DATETIME", - "length": 19, + "name": "token_hash", + "type": "VARCHAR", + "length": 255, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -424,7 +438,7 @@

Columns

"tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>product_id", + "name": "<\/i>order_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", @@ -438,25 +452,25 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>review_id", + "name": "<\/i>user_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

ID of review under which comment is found<\/p>" + "comments": "" }, { - "tableName": "product", - "tableFileName": "product", + "tableName": "order", + "tableFileName": "order", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>product_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>store_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", "comments": "" }, @@ -466,21 +480,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "img_url", - "type": "VARCHAR", - "length": 255, - "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "" - }, - { - "tableName": "administrator", - "tableFileName": "administrator", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>user_id", + "name": "calories", "type": "INT UNSIGNED", "length": 10, "nullable": "", @@ -494,9 +494,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "price", - "type": "DECIMAL", - "length": 10, + "name": "category", + "type": "VARCHAR", + "length": 50, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -508,9 +508,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "img_alt_text", + "name": "img_url", "type": "VARCHAR", - "length": 150, + "length": 255, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -522,7 +522,7 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>product_id", + "name": "<\/i>client_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", @@ -536,7 +536,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "phone_no", + "name": "password", "type": "VARCHAR", "length": 255, "nullable": "", @@ -545,56 +545,56 @@

Columns

"comments": "" }, { - "tableName": "order", - "tableFileName": "order", + "tableName": "district", + "tableFileName": "district", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "created_date", - "type": "DATETIME", - "length": 19, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>name", + "type": "enum('Moka', 'Port Louis', 'Flacq', 'Curepipe', 'Black River', 'Savanne', 'Grand Port', 'Riviere du Rempart', 'Pamplemousses', 'Mahebourg', 'Plaines Wilhems')", + "length": 18, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", + "defaultValue": "null", "comments": "" }, { "tableName": "store_product", "tableFileName": "store_product", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "stock_level", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>product_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "0", + "defaultValue": "null", "comments": "" }, { - "tableName": "order", - "tableFileName": "order", + "tableName": "administrator", + "tableFileName": "administrator", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>order_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "is_super_admin", + "type": "BIT", + "length": 1, "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", + "autoUpdated": "", + "defaultValue": "0", "comments": "" }, { "tableName": "client", "tableFileName": "client", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "street", - "type": "VARCHAR", - "length": 255, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>user_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -604,14 +604,14 @@

Columns

"tableName": "comment", "tableFileName": "comment", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>parent_comment_id", - "type": "INT UNSIGNED", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "created_date", + "type": "DATETIME", + "length": 19, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "CURRENT_TIMESTAMP", "comments": "" }, { @@ -620,24 +620,24 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "text", - "type": "VARCHAR", - "length": 2000, + "name": "created_date", + "type": "DATETIME", + "length": 19, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "CURRENT_TIMESTAMP", "comments": "" }, { - "tableName": "district", - "tableFileName": "district", + "tableName": "order", + "tableFileName": "order", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>name", - "type": "enum('Moka', 'Port Louis', 'Flacq', 'Curepipe', 'Black River', 'Savanne', 'Grand Port', 'Riviere du Rempart', 'Pamplemousses', 'Mahebourg', 'Plaines Wilhems')", - "length": 18, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>client_id", + "type": "INT UNSIGNED", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -648,7 +648,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "street", + "name": "phone_no", "type": "VARCHAR", "length": 255, "nullable": "", @@ -660,11 +660,11 @@

Columns

"tableName": "review", "tableFileName": "review", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>client_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "text", + "type": "VARCHAR", + "length": 2000, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -674,11 +674,11 @@

Columns

"tableName": "store", "tableFileName": "store", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>district_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>coordinate", + "type": "GEOMETRY", + "length": 65535, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -690,10 +690,10 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>user_id", + "name": "<\/i>parent_comment_id", "type": "INT UNSIGNED", "length": 10, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -702,9 +702,23 @@

Columns

"tableName": "store", "tableFileName": "store", "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>store_id", + "type": "INT UNSIGNED", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "null", + "comments": "" + }, + { + "tableName": "user", + "tableFileName": "user", + "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "phone_no", + "name": "last_name", "type": "VARCHAR", "length": 255, "nullable": "", @@ -713,44 +727,30 @@

Columns

"comments": "" }, { - "tableName": "client", - "tableFileName": "client", + "tableName": "order", + "tableFileName": "order", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>user_id", + "name": "<\/i>order_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "", + "autoUpdated": "√", "defaultValue": "null", "comments": "" }, - { - "tableName": "order", - "tableFileName": "order", - "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "pickup_date", - "type": "DATETIME", - "length": 19, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Date when client picks up his order at the store<\/p>" - }, { "tableName": "password_change_request", "tableFileName": "password_change_request", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>user_id", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>request_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "", + "autoUpdated": "√", "defaultValue": "null", "comments": "" }, @@ -760,7 +760,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "city", + "name": "street", "type": "VARCHAR", "length": 255, "nullable": "", @@ -774,9 +774,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "calories", - "type": "INT UNSIGNED", - "length": 10, + "name": "name", + "type": "VARCHAR", + "length": 255, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -786,42 +786,42 @@

Columns

"tableName": "order_product", "tableFileName": "order_product", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "quantity", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>milk_type", + "type": "enum('almond', 'coconut', 'oat', 'soy')", + "length": 7, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "district", - "tableFileName": "district", + "tableName": "order", + "tableFileName": "order", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>district_id", - "type": "INT UNSIGNED", - "length": 10, - "nullable": "", - "autoUpdated": "√", + "keyClass": "", + "keyTitle": "", + "name": "pickup_date", + "type": "DATETIME", + "length": 19, + "nullable": "√", + "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Date when client picks up his order at the store<\/p>" }, { "tableName": "order", "tableFileName": "order", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>client_id", - "type": "INT UNSIGNED", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "status", + "type": "enum('pending', 'cancelled', 'completed')", + "length": 9, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "pending", "comments": "" }, { @@ -830,7 +830,7 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "last_name", + "name": "phone_no", "type": "VARCHAR", "length": 255, "nullable": "", @@ -839,31 +839,31 @@

Columns

"comments": "" }, { - "tableName": "password_change_request", - "tableFileName": "password_change_request", + "tableName": "review", + "tableFileName": "review", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>request_id", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>product_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "√", + "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "store", - "tableFileName": "store", + "tableName": "product", + "tableFileName": "product", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>store_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "created_date", + "type": "DATETIME", + "length": 19, "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", + "autoUpdated": "", + "defaultValue": "CURRENT_TIMESTAMP", "comments": "" }, { @@ -872,40 +872,40 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "is_super_admin", - "type": "BIT", - "length": 1, + "name": "job_title", + "type": "VARCHAR", + "length": 255, "nullable": "", "autoUpdated": "", - "defaultValue": "0", + "defaultValue": "null", "comments": "" }, { "tableName": "store", "tableFileName": "store", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>coordinate", - "type": "GEOMETRY", - "length": 65535, + "keyClass": "", + "keyTitle": "", + "name": "street", + "type": "VARCHAR", + "length": 255, "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" }, { - "tableName": "review", - "tableFileName": "review", + "tableName": "store_product", + "tableFileName": "store_product", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>review_id", + "keyClass": "", + "keyTitle": "", + "name": "stock_level", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "√", - "defaultValue": "null", + "autoUpdated": "", + "defaultValue": "0", "comments": "" }, { @@ -914,9 +914,9 @@

Columns

"tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>cup_size", - "type": "enum('small', 'medium', 'large')", - "length": 6, + "name": "<\/i>product_id", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -926,25 +926,25 @@

Columns

"tableName": "order", "tableFileName": "order", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>store_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "created_date", + "type": "DATETIME", + "length": 19, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "CURRENT_TIMESTAMP", "comments": "" }, { - "tableName": "store_product", - "tableFileName": "store_product", + "tableName": "store", + "tableFileName": "store", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>store_id", - "type": "INT UNSIGNED", - "length": 10, + "keyClass": "", + "keyTitle": "", + "name": "city", + "type": "VARCHAR", + "length": 255, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -954,13 +954,13 @@

Columns

"tableName": "review", "tableFileName": "review", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "rating", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>review_id", "type": "INT UNSIGNED", "length": 10, "nullable": "", - "autoUpdated": "", + "autoUpdated": "√", "defaultValue": "null", "comments": "" }, @@ -970,12 +970,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "created_date", - "type": "DATETIME", - "length": 19, + "name": "rating", + "type": "INT UNSIGNED", + "length": 10, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", + "defaultValue": "null", "comments": "" } ]; diff --git a/constraints.html b/constraints.html index a968fa4..8377dea 100644 --- a/constraints.html +++ b/constraints.html @@ -389,7 +389,7 @@

16 Foreign Key Constraints

- Restrict delete + Cascade on delete diff --git a/diagrams/summary/relationships.real.compact.dot b/diagrams/summary/relationships.real.compact.dot index 599be0d..4f54197 100644 --- a/diagrams/summary/relationships.real.compact.dot +++ b/diagrams/summary/relationships.real.compact.dot @@ -12,6 +12,18 @@ digraph "compactRelationshipsDiagram" { target="_top" tooltip="administrator" ]; + "district" [ + label=< + + + + + +
district[table]
district_id
name
0 rows2 >
> + URL="../../tables/district.html" + target="_top" + tooltip="district" + ]; "order" [ label=< @@ -26,18 +38,6 @@ digraph "compactRelationshipsDiagram" { target="_top" tooltip="order" ]; - "district" [ - label=< -
- - - - -
district[table]
district_id
name
0 rows2 >
> - URL="../../tables/district.html" - target="_top" - tooltip="district" - ]; "product" [ label=< diff --git a/diagrams/summary/relationships.real.compact.svg b/diagrams/summary/relationships.real.compact.svg index d5e71b6..68fb43c 100644 --- a/diagrams/summary/relationships.real.compact.svg +++ b/diagrams/summary/relationships.real.compact.svg @@ -73,10 +73,37 @@ - + +district + + + + +district +[table] + + +district_id + + +name + + +   + + +0 rows + + +2 > + + + + + order - + @@ -184,33 +211,6 @@ - - -district - - - - -district -[table] - - -district_id - - -name - - -   - - -0 rows - - -2 > - - - product diff --git a/diagrams/summary/relationships.real.large.dot b/diagrams/summary/relationships.real.large.dot index e50e242..323cde5 100644 --- a/diagrams/summary/relationships.real.large.dot +++ b/diagrams/summary/relationships.real.large.dot @@ -13,6 +13,18 @@ digraph "largeRelationshipsDiagram" { target="_top" tooltip="administrator" ]; + "district" [ + label=< +
+ + + + +
district[table]
district_id
name
0 rows2 >
> + URL="../../tables/district.html" + target="_top" + tooltip="district" + ]; "order" [ label=< @@ -29,18 +41,6 @@ digraph "largeRelationshipsDiagram" { target="_top" tooltip="order" ]; - "district" [ - label=< -
- - - - -
district[table]
district_id
name
0 rows2 >
> - URL="../../tables/district.html" - target="_top" - tooltip="district" - ]; "product" [ label=< diff --git a/diagrams/summary/relationships.real.large.svg b/diagrams/summary/relationships.real.large.svg index 45b9064..60a58af 100644 --- a/diagrams/summary/relationships.real.large.svg +++ b/diagrams/summary/relationships.real.large.svg @@ -81,10 +81,37 @@ - + +district + + + + +district +[table] + + +district_id + + +name + + +   + + +0 rows + + +2 > + + + + + order - + @@ -202,33 +229,6 @@ - - -district - - - - -district -[table] - - -district_id - - -name - - -   - - -0 rows - - -2 > - - - product diff --git a/index.html b/index.html index 3c9ef90..f3adf22 100644 --- a/index.html +++ b/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of cafe.cafe

-

Generated on Tue May 21 04:24 UTC 2024

+

Generated on Sat Jun 08 09:54 UTC 2024

@@ -206,19 +206,19 @@

Tables

- - + + + - - - - + + + diff --git a/info-html.txt b/info-html.txt index 37a345c..99c6eea 100644 --- a/info-html.txt +++ b/info-html.txt @@ -1,4 +1,4 @@ -date=2024-05-21 04:24:44+0000 +date=2024-06-08 09:54:27+0000 os=Linux 6.5.0-1021-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/tables/comment.html b/tables/comment.html index a2c776d..c216d26 100644 --- a/tables/comment.html +++ b/tables/comment.html @@ -120,7 +120,7 @@

Columns

- +
order1district20 26 0 Table
district20order1 26 0 Table
comment.parent_comment_id comment_comment_comment_id_fkRC
@@ -180,7 +180,7 @@

Columns

comment.comment_id comment_comment_comment_id_fk - R + C