db 스키마 업데이트
This commit is contained in:
@ -214,6 +214,30 @@ pos_billdata = Table(
|
|||||||
PrimaryKeyConstraint('sale_date', 'shop_cd', 'pos_no', 'bill_no', 'product_cd')
|
PrimaryKeyConstraint('sale_date', 'shop_cd', 'pos_no', 'bill_no', 'product_cd')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
pos_ups_billdata = Table(
|
||||||
|
get_full_table_name('pos_ups_billdata'), metadata,
|
||||||
|
Column('sale_date', DateTime, nullable=False),
|
||||||
|
Column('shop_name', String(100), nullable=False),
|
||||||
|
Column('pos_no', Integer, nullable=False),
|
||||||
|
Column('bill_no', Integer, nullable=False),
|
||||||
|
Column('product_cd', String(20), nullable=False),
|
||||||
|
Column('ca01', String(50)),
|
||||||
|
Column('ca02', String(50)),
|
||||||
|
Column('ca03', String(50)),
|
||||||
|
Column('product_name', String(100)),
|
||||||
|
Column('barcode', String(20)),
|
||||||
|
Column('amt', Integer),
|
||||||
|
Column('qty', Integer),
|
||||||
|
Column('tot_sale_amt', Integer),
|
||||||
|
Column('dc_amt', Integer),
|
||||||
|
Column('dcm_sale_amt', Integer),
|
||||||
|
Column('net_amt', Integer),
|
||||||
|
Column('vat_amt', Integer),
|
||||||
|
Column('cash_receipt', Integer),
|
||||||
|
Column('card', Integer),
|
||||||
|
PrimaryKeyConstraint('sale_date', 'shop_name', 'pos_no', 'bill_no', 'product_cd')
|
||||||
|
)
|
||||||
|
|
||||||
pos_shop_name = Table(
|
pos_shop_name = Table(
|
||||||
get_full_table_name('pos_shop_name'), metadata,
|
get_full_table_name('pos_shop_name'), metadata,
|
||||||
Column('shop_cd', String(20), primary_key=True, nullable=False),
|
Column('shop_cd', String(20), primary_key=True, nullable=False),
|
||||||
|
|||||||
Reference in New Issue
Block a user