Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17996
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Symfony 4/ / Doctrine - how to utilize third party entities? |
| Date | 2019-06-15 18:02 +0200 |
| Message-ID | <gmkj4lFp3lrU2@mid.individual.net> (permalink) |
| References | <qe0qle$tmr$1@node1.news.atman.pl> |
Marek S: > Hi all, > > Assumptions: > 1. PostgerSQL > 2. Namespace "public" designed for Symfony / Doctrine entities. > 3. Other namespaces contain third party tables/other objects which > Doctrine will use but never change (creating/altering tables is not > allowed but reading/writing is). > > I would like to create entities via make:entity for (only) public > schema. I also would like to create manually entities/repositories for > third party tables They should be excluded from migrations : > > doctrine:migrations:generate Usually it's easier to use doctrine:migrations:diff if you already have a migrated database schema and just want to generate the SQL statements to create the new entities. And BTW: this is nothing to do with PHP itself - maybe you find more answers in dedidacted Symfony forums. -- Arno Welzel https://arnowelzel.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Symfony 4/ / Doctrine - how to utilize third party entities? Marek S <precz@spamowi.com> - 2019-06-14 20:56 +0200
Re: Symfony 4/ / Doctrine - how to utilize third party entities? Arno Welzel <usenet@arnowelzel.de> - 2019-06-15 18:02 +0200
Re: Symfony 4/ / Doctrine - how to utilize third party entities? Marek S <precz@spamowi.com> - 2019-06-15 23:11 +0200
Re: Symfony 4/ / Doctrine - how to utilize third party entities? Arno Welzel <usenet@arnowelzel.de> - 2019-06-16 09:46 +0200
csiph-web