u
This commit is contained in:
@@ -313,7 +313,7 @@ function render() {
|
||||
}
|
||||
|
||||
const SCHEMA_TABLES = [
|
||||
['article', 'id PK, sku?:s(100) UQ, unit_id->unit, unitamount:f, weight:f, brand_id?->brand, articlelist_id?->articlelist, optionslist_id?->optionslist, is_father:b=0, fatherarticle_id?->article, fathersort:i=0, created_at:dt, updated_at:dt, UQ(fatherarticle_id, fathersort)'],
|
||||
['article', 'id PK, sku?:s(100) UQ, unit_id->unit, unitamount:f, weight:f, track_stock:b=1, brand_id?->brand, articlelist_id?->articlelist, optionslist_id?->optionslist, is_father:b=0, fatherarticle_id?->article, fathersort:i=0, created_at:dt, updated_at:dt, UQ(fatherarticle_id, fathersort)'],
|
||||
['articleean', 'id PK, article_id->article, ean:s(50) UQ'],
|
||||
['articlehistory', 'id PK, article_id->article, companyuser_id?->companyuser, date:dt, text:txt'],
|
||||
['articlelist', 'id PK'],
|
||||
@@ -354,7 +354,7 @@ const SCHEMA_TABLES = [
|
||||
['tax', 'id PK, rate:d(18,4) UQ'],
|
||||
['unit', 'id PK, company_id->company, si:s(50), basesi:s(50), basesifactor:f, UQ(company_id, si)'],
|
||||
['unittext', 'id PK, unit_id->unit, language_id->language, symbol:s(50), name:s(255), UQ(unit_id, language_id)'],
|
||||
['warehouse', 'id PK, company_id->company, name:s(255), UQ(company_id, name)'],
|
||||
['warehouse', 'id PK, company_id->company, name:s(255), sort:i=0, UQ(company_id, name)'],
|
||||
];
|
||||
|
||||
// Write the index API.md linking to each section file.
|
||||
|
||||
Reference in New Issue
Block a user