typo
This commit is contained in:
parent
871dec71a6
commit
5bfcd2a2a3
4
sql.go
4
sql.go
@ -64,8 +64,8 @@ func initDB() {
|
||||
,obj_type_id SMALLINT UNSIGNED NOT NULL
|
||||
,obj_sub_type_id SMALLINT UNSIGNED NOT NULL
|
||||
,PRIMARY KEY (id)
|
||||
,FOREIGN KEY (obj_type_id) REFERENCSE code_obj_type(id) ON DELETE CASCADE
|
||||
,FOREIGN KEY (obj_sub_type_id) REFERENCSE code_obj_sub_type(id) ON DELETE CASCADE
|
||||
,FOREIGN KEY (obj_type_id) REFERENCES code_obj_type(id) ON DELETE CASCADE
|
||||
,FOREIGN KEY (obj_sub_type_id) REFERENCES code_obj_sub_type(id) ON DELETE CASCADE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 0 CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;`)
|
||||
failOnError(err, "initDB : create table obj")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user