test
This commit is contained in:
parent
5c166184dd
commit
beb6d48f79
1
sql.go
1
sql.go
@ -147,6 +147,7 @@ func initDB() {
|
|||||||
,quality VARCHAR(32)
|
,quality VARCHAR(32)
|
||||||
,seller VARCHAR(32)
|
,seller VARCHAR(32)
|
||||||
,buyer VARCHAR(32)
|
,buyer VARCHAR(32)
|
||||||
|
,price SMALLINT NOT NULL
|
||||||
,status VARCHAR(32)
|
,status VARCHAR(32)
|
||||||
,end TIMESTAMP NOT NULL
|
,end TIMESTAMP NOT NULL
|
||||||
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
,FOREIGN KEY (obj_id) REFERENCES obj(id) ON DELETE CASCADE
|
||||||
|
Loading…
Reference in New Issue
Block a user