PromucFlow_constructor/app/client/cypress/fixtures/mySQL_GET_selectTableDropdown.json

1897 lines
46 KiB
JSON
Raw Permalink Normal View History

{
"responseMeta": {
"status": 200,
"success": true
},
"data": {
"tables": [
{
"type": "TABLE",
"name": "CC",
"columns": [
{
"name": "Name",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "rating",
"type": "int",
"isAutogenerated": false
},
{
"name": "ceoname",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "age",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM CC LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO CC (Name, rating, ceoname, age)\n VALUES ('', 1, '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE CC SET\n Name = '',\n rating = 1,\n ceoname = '',\n age = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM CC\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "Hob",
"columns": [
{
"name": "hobbiesname",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "frequency",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM Hob LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO Hob (hobbiesname, frequency)\n VALUES ('', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE Hob SET\n hobbiesname = '',\n frequency = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM Hob\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "abc",
"columns": [
{
"name": "district",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "covidcases",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM abc LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO abc (district, covidcases)\n VALUES ('', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE abc SET\n district = '',\n covidcases = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM abc\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "campaigns",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "campaignName",
"type": "text",
"isAutogenerated": false
},
{
"name": "campaignIdea",
"type": "text",
"isAutogenerated": false
},
{
"name": "scheduleDate",
"type": "date",
"isAutogenerated": false
},
{
"name": "campaignCategory",
"type": "text",
"isAutogenerated": false
},
{
"name": "campaignPlatforms",
"type": "text",
"isAutogenerated": false
},
{
"name": "deepLinkUrl",
"type": "text",
"isAutogenerated": false
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM campaigns LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO campaigns (id, campaignName, campaignIdea, scheduleDate, campaignCategory, campaignPlatforms, deepLinkUrl, status)\n VALUES (1, '', '', '2019-07-01', '', '', '', '');"
},
{
"title": "UPDATE",
"body": "UPDATE campaigns SET\n id = 1,\n campaignName = '',\n campaignIdea = '',\n scheduleDate = '2019-07-01',\n campaignCategory = '',\n campaignPlatforms = '',\n deepLinkUrl = '',\n status = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM campaigns\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "candidate_feedback",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "interviewer",
"type": "text",
"isAutogenerated": false
},
{
"name": "application_id",
"type": "text",
"isAutogenerated": false
},
{
"name": "feedback",
"type": "text",
"isAutogenerated": false
},
{
"name": "rating",
"type": "double",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM candidate_feedback LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO candidate_feedback (id, interviewer, application_id, feedback, rating)\n VALUES (1, '', '', '', 1.0);"
},
{
"title": "UPDATE",
"body": "UPDATE candidate_feedback SET\n id = 1,\n interviewer = '',\n application_id = '',\n feedback = '',\n rating = 1.0\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM candidate_feedback\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "com",
"columns": [
{
"name": "Name",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "rating",
"type": "int",
"isAutogenerated": false
},
{
"name": "ceoname",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "age",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM com LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO com (Name, rating, ceoname, age)\n VALUES ('', 1, '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE com SET\n Name = '',\n rating = 1,\n ceoname = '',\n age = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM com\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "company",
"columns": [
{
"name": "Name",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "rating",
"type": "int",
"isAutogenerated": false
},
{
"name": "ceoname",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "age",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM company LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO company (Name, rating, ceoname, age)\n VALUES ('', 1, '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE company SET\n Name = '',\n rating = 1,\n ceoname = '',\n age = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM company\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "configs",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "configName",
"type": "text",
"isAutogenerated": false
},
{
"name": "configJson",
"type": "text",
"isAutogenerated": false
},
{
"name": "configVersion",
"type": "int",
"isAutogenerated": false
},
{
"name": "updatedAt",
"type": "timestamp",
"isAutogenerated": false
},
{
"name": "updatedBy",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM configs LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO configs (id, configName, configJson, configVersion, updatedAt, updatedBy)\n VALUES (1, '', '', 1, '2019-07-01 10:00:00', '');"
},
{
"title": "UPDATE",
"body": "UPDATE configs SET\n id = 1,\n configName = '',\n configJson = '',\n configVersion = 1,\n updatedAt = '2019-07-01 10:00:00',\n updatedBy = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM configs\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "covidCases",
"columns": [
{
"name": "date",
"type": "date",
"isAutogenerated": false
},
{
"name": "confirmed",
"type": "int",
"isAutogenerated": false
},
{
"name": "deaths",
"type": "int",
"isAutogenerated": false
},
{
"name": "country",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "province",
"type": "varchar",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM covidCases LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO covidCases (date, confirmed, deaths, country, province)\n VALUES ('2019-07-01', 1, 1, '', '');"
},
{
"title": "UPDATE",
"body": "UPDATE covidCases SET\n date = '2019-07-01',\n confirmed = 1,\n deaths = 1,\n country = '',\n province = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM covidCases\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "employees",
"columns": [
{
"name": "id",
"type": "mediumint",
"isAutogenerated": true
},
{
"name": "name",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "join_date",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "salary",
"type": "mediumint",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM employees LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO employees (id, name, join_date, salary)\n VALUES ('', '', '', '');"
},
{
"title": "UPDATE",
"body": "UPDATE employees SET\n id = '',\n name = '',\n join_date = '',\n salary = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM employees\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "fruits",
"columns": [
{
"name": "id",
"type": "text",
"isAutogenerated": false
},
{
"name": "name",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM fruits LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO fruits (id, name)\n VALUES ('', '');"
},
{
"title": "UPDATE",
"body": "UPDATE fruits SET\n id = '',\n name = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM fruits\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "job_applications",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "candidate_name",
"type": "text",
"isAutogenerated": false
},
{
"name": "candidate_email",
"type": "text",
"isAutogenerated": false
},
{
"name": "candidate_phone_no",
"type": "text",
"isAutogenerated": false
},
{
"name": "applied_role",
"type": "text",
"isAutogenerated": false
},
{
"name": "application_datetime",
"type": "timestamp",
"isAutogenerated": false
},
{
"name": "application_status",
"type": "text",
"isAutogenerated": false
},
{
"name": "interview_datetime",
"type": "timestamp",
"isAutogenerated": false
},
{
"name": "resume_url",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM job_applications LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO job_applications (id, candidate_name, candidate_email, candidate_phone_no, applied_role, application_datetime, application_status, interview_datetime, resume_url)\n VALUES (1, '', '', '', '', '2019-07-01 10:00:00', '', '2019-07-01 10:00:00', '');"
},
{
"title": "UPDATE",
"body": "UPDATE job_applications SET\n id = 1,\n candidate_name = '',\n candidate_email = '',\n candidate_phone_no = '',\n applied_role = '',\n application_datetime = '2019-07-01 10:00:00',\n application_status = '',\n interview_datetime = '2019-07-01 10:00:00',\n resume_url = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM job_applications\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "kyc_applications",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "name",
"type": "text",
"isAutogenerated": false
},
{
"name": "contact_no",
"type": "text",
"isAutogenerated": false
},
{
"name": "gender",
"type": "text",
"isAutogenerated": false
},
{
"name": "dob",
"type": "date",
"isAutogenerated": false
},
{
"name": "email",
"type": "text",
"isAutogenerated": false
},
{
"name": "marital_status",
"type": "text",
"isAutogenerated": false
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
},
{
"name": "date_of_submission",
"type": "date",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM kyc_applications LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO kyc_applications (id, name, contact_no, gender, dob, email, marital_status, status, date_of_submission)\n VALUES (1, '', '', '', '2019-07-01', '', '', '', '2019-07-01');"
},
{
"title": "UPDATE",
"body": "UPDATE kyc_applications SET\n id = 1,\n name = '',\n contact_no = '',\n gender = '',\n dob = '2019-07-01',\n email = '',\n marital_status = '',\n status = '',\n date_of_submission = '2019-07-01'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM kyc_applications\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "offers",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "type",
"type": "text",
"isAutogenerated": false
},
{
"name": "offerValue",
"type": "double",
"isAutogenerated": false
},
{
"name": "valueType",
"type": "text",
"isAutogenerated": false
},
{
"name": "maxOfferValue",
"type": "double",
"isAutogenerated": false
},
{
"name": "minOrderValue",
"type": "double",
"isAutogenerated": false
},
{
"name": "productCategories",
"type": "text",
"isAutogenerated": false
},
{
"name": "startDate",
"type": "date",
"isAutogenerated": false
},
{
"name": "endDate",
"type": "date",
"isAutogenerated": false
},
{
"name": "inventory",
"type": "int",
"isAutogenerated": false
},
{
"name": "name",
"type": "text",
"isAutogenerated": false
},
{
"name": "description",
"type": "text",
"isAutogenerated": false
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
},
{
"name": "paymentModes",
"type": "text",
"isAutogenerated": false
},
{
"name": "perUserInventory",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM offers LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO offers (id, type, offerValue, valueType, maxOfferValue, minOrderValue, productCategories, startDate, endDate, inventory, name, description, status, paymentModes, perUserInventory)\n VALUES (1, '', 1.0, '', 1.0, 1.0, '', '2019-07-01', '2019-07-01', 1, '', '', '', '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE offers SET\n id = 1,\n type = '',\n offerValue = 1.0,\n valueType = '',\n maxOfferValue = 1.0,\n minOrderValue = 1.0,\n productCategories = '',\n startDate = '2019-07-01',\n endDate = '2019-07-01',\n inventory = 1,\n name = '',\n description = '',\n status = '',\n paymentModes = '',\n perUserInventory = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM offers\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "orderProductMap",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": false
},
{
"name": "orderId",
"type": "int",
"isAutogenerated": false
},
{
"name": "productId",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM orderProductMap LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO orderProductMap (id, orderId, productId)\n VALUES (1, 1, 1);"
},
{
"title": "UPDATE",
"body": "UPDATE orderProductMap SET\n id = 1,\n orderId = 1,\n productId = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM orderProductMap\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "orders",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "deliveryAddress",
"type": "text",
"isAutogenerated": false
},
{
"name": "orderAmount",
"type": "double",
"isAutogenerated": false
},
{
"name": "orderDate",
"type": "date",
"isAutogenerated": false
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
},
{
"name": "userId",
"type": "int",
"isAutogenerated": false
},
{
"name": "paymentId",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM orders LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO orders (id, deliveryAddress, orderAmount, orderDate, status, userId, paymentId)\n VALUES (1, '', 1.0, '2019-07-01', '', 1, '');"
},
{
"title": "UPDATE",
"body": "UPDATE orders SET\n id = 1,\n deliveryAddress = '',\n orderAmount = 1.0,\n orderDate = '2019-07-01',\n status = '',\n userId = 1,\n paymentId = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM orders\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "posts",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "campaignId",
"type": "int",
"isAutogenerated": false
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
},
{
"name": "copyText",
"type": "text",
"isAutogenerated": false
},
{
"name": "imageUrl",
"type": "text",
"isAutogenerated": false
},
{
"name": "platform",
"type": "text",
"isAutogenerated": false
},
{
"name": "reviewText",
"type": "text",
"isAutogenerated": false
},
{
"name": "version",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
},
{
"name": "posts_ibfk_1",
"fromColumns": [
"campaignId"
],
"toColumns": [
"campaigns.id"
],
"type": "foreign key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM posts LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO posts (id, campaignId, status, copyText, imageUrl, platform, reviewText, version)\n VALUES (1, 1, '', '', '', '', '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE posts SET\n id = 1,\n campaignId = 1,\n status = '',\n copyText = '',\n imageUrl = '',\n platform = '',\n reviewText = '',\n version = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM posts\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "productRecommendations",
"columns": [
{
"name": "recommendationId",
"type": "int",
"isAutogenerated": true
},
{
"name": "userId",
"type": "int",
"isAutogenerated": false
},
{
"name": "productId",
"type": "int",
"isAutogenerated": false
},
{
"name": "mrp",
"type": "double",
"isAutogenerated": false
},
{
"name": "listingPrice",
"type": "double",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"recommendationId"
],
"type": "primary key"
},
{
"name": "productRecommendations_ibfk_1",
"fromColumns": [
"productId"
],
"toColumns": [
"products.productId"
],
"type": "foreign key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM productRecommendations LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO productRecommendations (recommendationId, userId, productId, mrp, listingPrice)\n VALUES (1, 1, 1, 1.0, 1.0);"
},
{
"title": "UPDATE",
"body": "UPDATE productRecommendations SET\n recommendationId = 1,\n userId = 1,\n productId = 1,\n mrp = 1.0,\n listingPrice = 1.0\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM productRecommendations\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "products",
"columns": [
{
"name": "productName",
"type": "text",
"isAutogenerated": false
},
{
"name": "mrp",
"type": "double",
"isAutogenerated": false
},
{
"name": "listingPrice",
"type": "double",
"isAutogenerated": false
},
{
"name": "imageUrl",
"type": "text",
"isAutogenerated": false
},
{
"name": "description",
"type": "text",
"isAutogenerated": false
},
{
"name": "category",
"type": "text",
"isAutogenerated": false
},
{
"name": "isListed",
"type": "tinyint",
"isAutogenerated": false
},
{
"name": "availabilityDate",
"type": "date",
"isAutogenerated": false
},
{
"name": "channel",
"type": "text",
"isAutogenerated": false
},
{
"name": "productId",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"productId"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM products LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO products (productName, mrp, listingPrice, imageUrl, description, category, isListed, availabilityDate, channel, productId)\n VALUES ('', 1.0, 1.0, '', '', '', '', '2019-07-01', '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE products SET\n productName = '',\n mrp = 1.0,\n listingPrice = 1.0,\n imageUrl = '',\n description = '',\n category = '',\n isListed = '',\n availabilityDate = '2019-07-01',\n channel = '',\n productId = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM products\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "qqq",
"columns": [
{
"name": "district",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "covidcases",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM qqq LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO qqq (district, covidcases)\n VALUES ('', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE qqq SET\n district = '',\n covidcases = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM qqq\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "realityshow",
"columns": [
{
"name": "name",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "rating",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM realityshow LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO realityshow (name, rating)\n VALUES ('', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE realityshow SET\n name = '',\n rating = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM realityshow\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "spec",
"columns": [
{
"name": "Från",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "date",
"type": "date",
"isAutogenerated": false
},
{
"name": "Frõ",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "_id",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM spec LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO spec (Från, date, Frõ, _id)\n VALUES ('', '2019-07-01', '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE spec SET\n Från = '',\n date = '2019-07-01',\n Frõ = '',\n _id = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM spec\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "special",
"columns": [
{
"name": "Från",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "date",
"type": "date",
"isAutogenerated": false
},
{
"name": "Frõ",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "_id",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM special LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO special (Från, date, Frõ, _id)\n VALUES ('', '2019-07-01', '', 1);"
},
{
"title": "UPDATE",
"body": "UPDATE special SET\n Från = '',\n date = '2019-07-01',\n Frõ = '',\n _id = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM special\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "testCaseFields",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "fieldName",
"type": "text",
"isAutogenerated": false
},
{
"name": "fieldType",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM testCaseFields LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO testCaseFields (id, fieldName, fieldType)\n VALUES (1, '', '');"
},
{
"title": "UPDATE",
"body": "UPDATE testCaseFields SET\n id = 1,\n fieldName = '',\n fieldType = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM testCaseFields\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "testCases",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "testCase",
"type": "text",
"isAutogenerated": false
},
{
"name": "priority",
"type": "text",
"isAutogenerated": false
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
},
{
"name": "userflow",
"type": "text",
"isAutogenerated": false
},
{
"name": "module",
"type": "text",
"isAutogenerated": false
},
{
"name": "feature",
"type": "text",
"isAutogenerated": false
},
{
"name": "featureAspect",
"type": "text",
"isAutogenerated": false
},
{
"name": "criteria",
"type": "text",
"isAutogenerated": false
},
{
"name": "testTechnique",
"type": "text",
"isAutogenerated": false
},
{
"name": "effort",
"type": "text",
"isAutogenerated": false
},
{
"name": "isInactive",
"type": "tinyint",
"isAutogenerated": false
},
{
"name": "description",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM testCases LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO testCases (id, testCase, priority, status, userflow, module, feature, featureAspect, criteria, testTechnique, effort, isInactive, description)\n VALUES (1, '', '', '', '', '', '', '', '', '', '', '', '');"
},
{
"title": "UPDATE",
"body": "UPDATE testCases SET\n id = 1,\n testCase = '',\n priority = '',\n status = '',\n userflow = '',\n module = '',\n feature = '',\n featureAspect = '',\n criteria = '',\n testTechnique = '',\n effort = '',\n isInactive = '',\n description = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM testCases\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "testCycle",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "testCycleDate",
"type": "timestamp",
"isAutogenerated": false
},
{
"name": "testCycleExecutor",
"type": "text",
"isAutogenerated": false
},
{
"name": "testSuiteIds",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM testCycle LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO testCycle (id, testCycleDate, testCycleExecutor, testSuiteIds)\n VALUES (1, '2019-07-01 10:00:00', '', '');"
},
{
"title": "UPDATE",
"body": "UPDATE testCycle SET\n id = 1,\n testCycleDate = '2019-07-01 10:00:00',\n testCycleExecutor = '',\n testSuiteIds = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM testCycle\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "testExecution",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "status",
"type": "text",
"isAutogenerated": false
},
{
"name": "testCaseId",
"type": "int",
"isAutogenerated": false
},
{
"name": "testCycleId",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM testExecution LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO testExecution (id, status, testCaseId, testCycleId)\n VALUES (1, '', 1, 1);"
},
{
"title": "UPDATE",
"body": "UPDATE testExecution SET\n id = 1,\n status = '',\n testCaseId = 1,\n testCycleId = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM testExecution\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "testSuite",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": false
},
{
"name": "suiteName",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM testSuite LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO testSuite (id, suiteName)\n VALUES (1, '');"
},
{
"title": "UPDATE",
"body": "UPDATE testSuite SET\n id = 1,\n suiteName = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM testSuite\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "testSuiteMap",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "testCaseId",
"type": "int",
"isAutogenerated": false
},
{
"name": "testSuiteId",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM testSuiteMap LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO testSuiteMap (id, testCaseId, testSuiteId)\n VALUES (1, 1, 1);"
},
{
"title": "UPDATE",
"body": "UPDATE testSuiteMap SET\n id = 1,\n testCaseId = 1,\n testSuiteId = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM testSuiteMap\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "test_1",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "n11",
"type": "int",
"isAutogenerated": false
},
{
"name": "n12",
"type": "int",
"isAutogenerated": false
},
{
"name": "n13",
"type": "int",
"isAutogenerated": false
},
{
"name": "n14",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
},
{
"name": "test_1_ibfk_1",
"fromColumns": [
"n11",
"n12",
"n13"
],
"toColumns": [
"test_2.n22",
"test_2.n23",
"test_2.n24"
],
"type": "foreign key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM test_1 LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO test_1 (id, n11, n12, n13, n14)\n VALUES (1, 1, 1, 1, 1);"
},
{
"title": "UPDATE",
"body": "UPDATE test_1 SET\n id = 1,\n n11 = 1,\n n12 = 1,\n n13 = 1,\n n14 = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM test_1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "test_2",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "n21",
"type": "int",
"isAutogenerated": false
},
{
"name": "n22",
"type": "int",
"isAutogenerated": false
},
{
"name": "n23",
"type": "int",
"isAutogenerated": false
},
{
"name": "n24",
"type": "int",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM test_2 LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO test_2 (id, n21, n22, n23, n24)\n VALUES (1, 1, 1, 1, 1);"
},
{
"title": "UPDATE",
"body": "UPDATE test_2 SET\n id = 1,\n n21 = 1,\n n22 = 1,\n n23 = 1,\n n24 = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM test_2\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
},
{
"type": "TABLE",
"name": "users",
"columns": [
{
"name": "id",
"type": "int",
"isAutogenerated": true
},
{
"name": "name",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "createdAt",
"type": "timestamp",
"isAutogenerated": false
},
{
"name": "updatedAt",
"type": "timestamp",
"isAutogenerated": false
},
{
"name": "status",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "gender",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "avatar",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "email",
"type": "varchar",
"isAutogenerated": false
},
{
"name": "address",
"type": "text",
"isAutogenerated": false
},
{
"name": "role",
"type": "text",
"isAutogenerated": false
},
{
"name": "dob",
"type": "date",
"isAutogenerated": false
},
{
"name": "phoneNo",
"type": "text",
"isAutogenerated": false
}
],
"keys": [
{
"name": "PRIMARY",
"columnNames": [
"id"
],
"type": "primary key"
}
],
"templates": [
{
"title": "SELECT",
"body": "SELECT * FROM users LIMIT 10;"
},
{
"title": "INSERT",
"body": "INSERT INTO users (id, name, createdAt, updatedAt, status, gender, avatar, email, address, role, dob, phoneNo)\n VALUES (1, '', '2019-07-01 10:00:00', '2019-07-01 10:00:00', '', '', '', '', '', '', '2019-07-01', '');"
},
{
"title": "UPDATE",
"body": "UPDATE users SET\n id = 1,\n name = '',\n createdAt = '2019-07-01 10:00:00',\n updatedAt = '2019-07-01 10:00:00',\n status = '',\n gender = '',\n avatar = '',\n email = '',\n address = '',\n role = '',\n dob = '2019-07-01',\n phoneNo = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"
},
{
"title": "DELETE",
"body": "DELETE FROM users\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"
}
]
}
]
}
}