I managed to solve as follows:
from django.db import models
class Teste001(models.Model):
name = models.CharField(max_length=100)
tagline = models.TextField()
def __str__(self):
return self.name
class Meta:
db_table = 'scheme].[table'
Em quinta-feira, 27 de setembro de 2018 12:37:44 UTC-4, Pardhu Saradhi escreveu:
Can you please msg me what you have doneOn Thu 27 Sep, 2018, 5:05 AM Elton Oliveira, <eltonol...@gmail.com> wrote:Hello guys, how do I create my tables in other SQL server schemas? OBS: I tried everything and I could not--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6c1e9a72- .ef4d-4405-9cec-5ce3a3e2d046% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4985051d-f0e4-4d7b-9aa3-7c725af66d96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment