Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
368 changes: 368 additions & 0 deletions dab-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,368 @@
"entities": {
"Authors": {
"source": {
"object": "dbo.authors",
"type": "table"
},
"mappings": {
"au_id": "AuId",
"au_lname": "AuLname",
"au_fname": "AuFname",
"phone": "Phone",
"address": "Address",
"city": "City",
"state": "State",
"zip": "Zip",
"contract": "Contract"
},
"relationships": {
"FK__titleauth__au_id__44FF419A": {
"cardinality": "Many",
"target.entity": "Titleauthor"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Discounts": {
"source": {
"object": "dbo.discounts",
"type": "table"
},
"mappings": {
"discounttype": "Discounttype",
"stor_id": "StorId",
"lowqty": "Lowqty",
"highqty": "Highqty",
"discount": "Discount"
},
"relationships": {
"FK__discounts__stor___4F7CD00D": {
"cardinality": "Many",
"target.entity": "Stores"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Stores": {
"source": {
"object": "dbo.stores",
"type": "table"
},
"mappings": {
"stor_id": "StorId",
"stor_name": "StorName",
"stor_address": "StorAddress",
"city": "City",
"state": "State",
"zip": "Zip"
},
"relationships": {
"FK__discounts__stor___4F7CD00D": {
"cardinality": "Many",
"target.entity": "Discounts"
},
"FK__sales__stor_id__4AB81AF0": {
"cardinality": "Many",
"target.entity": "Sales"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Employee": {
"source": {
"object": "dbo.employee",
"type": "table"
},
"mappings": {
"emp_id": "EmpId",
"fname": "Fname",
"minit": "Minit",
"lname": "Lname",
"job_id": "JobId",
"job_lvl": "JobLvl",
"pub_id": "PubId",
"hire_date": "HireDate"
},
"relationships": {
"FK__employee__job_id__5BE2A6F2": {
"cardinality": "One",
"target.entity": "Jobs"
},
"FK__employee__pub_id__5EBF139D": {
"cardinality": "One",
"target.entity": "Publishers"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Jobs": {
"source": {
"object": "dbo.jobs",
"type": "table"
},
"mappings": {
"job_id": "JobId",
"job_desc": "JobDesc",
"min_lvl": "MinLvl",
"max_lvl": "MaxLvl"
},
"relationships": {
"FK__employee__job_id__5BE2A6F2": {
"cardinality": "Many",
"target.entity": "Employee"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Publishers": {
"source": {
"object": "dbo.publishers",
"type": "table"
},
"mappings": {
"pub_id": "PubId",
"pub_name": "PubName",
"city": "City",
"state": "State",
"country": "Country"
},
"relationships": {
"FK__employee__pub_id__5EBF139D": {
"cardinality": "Many",
"target.entity": "Employee"
},
"FK__pub_info__pub_id__571DF1D5": {
"cardinality": "One",
"target.entity": "PubInfo"
},
"FK__titles__pub_id__412EB0B6": {
"cardinality": "Many",
"target.entity": "Titles"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"PubInfo": {
"source": {
"object": "dbo.pub_info",
"type": "table"
},
"mappings": {
"pub_id": "PubId",
"logo": "Logo",
"pr_info": "PrInfo"
},
"relationships": {
"FK__pub_info__pub_id__571DF1D5": {
"cardinality": "One",
"target.entity": "Publishers"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Roysched": {
"source": {
"object": "dbo.roysched",
"type": "table"
},
"mappings": {
"title_id": "TitleId",
"lorange": "Lorange",
"hirange": "Hirange",
"royalty": "Royalty"
},
"relationships": {
"FK__roysched__title___4D94879B": {
"cardinality": "One",
"target.entity": "Titles"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Titles": {
"source": {
"object": "dbo.titles",
"type": "table"
},
"mappings": {
"title_id": "TitleId",
"title": "Title",
"type": "Type",
"pub_id": "PubId",
"price": "Price",
"advance": "Advance",
"royalty": "Royalty",
"ytd_sales": "YtdSales",
"notes": "Notes",
"pubdate": "Pubdate"
},
"relationships": {
"FK__roysched__title___4D94879B": {
"cardinality": "Many",
"target.entity": "Roysched"
},
"FK__sales__title_id__4BAC3F29": {
"cardinality": "Many",
"target.entity": "Sales"
},
"FK__titleauth__title__45F365D3": {
"cardinality": "Many",
"target.entity": "Titleauthor"
},
"FK__titles__pub_id__412EB0B6": {
"cardinality": "Many",
"target.entity": "Publishers"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Sales": {
"source": {
"object": "dbo.sales",
"type": "table"
},
"mappings": {
"stor_id": "StorId",
"ord_num": "OrdNum",
"ord_date": "OrdDate",
"qty": "Qty",
"payterms": "Payterms",
"title_id": "TitleId"
},
"relationships": {
"FK__sales__stor_id__4AB81AF0": {
"cardinality": "One",
"target.entity": "Stores"
},
"FK__sales__title_id__4BAC3F29": {
"cardinality": "One",
"target.entity": "Titles"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Titleauthor": {
"source": {
"object": "dbo.titleauthor",
"type": "table"
},
"mappings": {
"au_id": "AuId",
"title_id": "TitleId",
"au_ord": "AuOrd",
"royaltyper": "Royaltyper"
},
"relationships": {
"FK__titleauth__au_id__44FF419A": {
"cardinality": "One",
"target.entity": "Authors"
},
"FK__titleauth__title__45F365D3": {
"cardinality": "One",
"target.entity": "Titles"
}
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
"Titleview": {
"source": {
"object": "dbo.titleview",
"type": "view"
},
"mappings": {
"title": "Title",
"au_ord": "AuOrd",
"au_lname": "AuLname",
"price": "Price",
"ytd_sales": "YtdSales",
"pub_id": "PubId"
},
"relationships": {
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "*"
}]
}]
},
}
Loading
Loading