У меня есть следующий schema.yml:
Category:
connection: doctrine
tableName: category
columns:
id:
type: integer(8)
fixed: false
unsigned: false
primary: true
autoincrement: true
name:
type: string(255)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
url_name:
type: string(255)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
relations:
SCategory:
local: id
foreign: category_id
type: many
SCategory:
connection: doctrine
tableName: s_category
columns:
id:
type: integer(8)
fixed: false
unsigned: false
primary: true
autoincrement: true
category_id:
type: integer(8)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
name:
type: string(255)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
url_name:
type: string(255)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
relations:
Category:
local: category_id
foreign: id
type: one
SsCategory:
local: id
foreign: s_category_id
type: many
SsCategory:
connection: doctrine
tableName: ss_category
columns:
id:
type: integer(8)
fixed: false
unsigned: false
primary: true
autoincrement: true
s_category_id:
type: integer(8)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
name:
type: string(255)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
url_name:
type: string(255)
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
relations:
SCategory:
local: s_category_id
foreign: id
type: one
, когда я пытаюсь загрузить следующие данные:
Category:
TV_HiFi_video:
name:TV, HiFi & vidéo
SCategory:
Elements_separes_Hi_Fi:
name:Eléments séparés Hi Fi
category_id:TV_HiFi_video
SsCategory:
Amplificateur:
name:Amplificateur
s_category_id:Elements_separes_Hi_Fi
, он говорит: «данные были успешно загружены», но данные отсутствуютдобавлено в БД.ура