Schema.yml içinde Doktrin harf duyarlılığı

0 Cevap php

Doktrin uyumluluğunu geliştirmek için tüm küçük içine benim sütun adlarını döner. Bunu nasıl oluyveya engellerim?

users:
  actAs: [Timestampable]
  columns:
    userId:
      type: integer
      length: 4
      primary: true
      autoincrement: true

veya

$this->hasColumn('userId', 'integer', 4, array(
         'type' => 'integer',
         'length' => 4,
         'primary' => true,
         'autoincrement' => true,
         ));

o zaman olur

userid

This is a problem because I have lots of existing code and data that uses the camelCase convention. Is there some sveyat of easy boolean I can change to make it keep my columns exactly as written?

0 Cevap