add sql collection and update endpoint mapping service coa
This commit is contained in:
13
sql-collections/sql-stock-asset.sql
Normal file
13
sql-collections/sql-stock-asset.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE stock_asset (
|
||||
StockAssetID int(11) NOT NULL AUTO_INCREMENT,
|
||||
StockAssetStockID int(11) NOT NULL,
|
||||
StockAssetCabangID int(11) NOT NULL,
|
||||
StockAssetCreatedUserID int(11) NOT NULL,
|
||||
StockAssetCreated datetime NOT NULL DEFAULT current_timestamp(),
|
||||
StockAssetLastUpdated datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||
StockAssetIsActive char(1) NOT NULL DEFAULT 'Y',
|
||||
PRIMARY KEY (StockAssetID),
|
||||
KEY StockAssetStockID (StockAssetStockID),
|
||||
KEY StockAssetCabangID (StockAssetCabangID),
|
||||
KEY StockAssetIsActive (StockAssetIsActive)
|
||||
);
|
||||
Reference in New Issue
Block a user