Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17996

Re: Symfony 4/ / Doctrine - how to utilize third party entities?

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: Symfony 4/ / Doctrine - how to utilize third party entities?
Date Sat, 15 Jun 2019 18:02:23 +0200
Lines 29
Message-ID <gmkj4lFp3lrU2@mid.individual.net> (permalink)
References <qe0qle$tmr$1@node1.news.atman.pl>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace individual.net M34/Q17R2RTMOdPyKIkzhA+WbLK1O5llUdopTiEyh3W69ApqXf
Cancel-Lock sha1:6DlS5xqd1wlPtRLbpjLqoLRdQW0=
Openpgp preference=signencrypt
In-Reply-To <qe0qle$tmr$1@node1.news.atman.pl>
Xref csiph.com comp.lang.php:17996

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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