Wednesday, August 30, 2017

Re: Deploying Oracle database to production enviroment

Heh... why make things easier when we can complicate? 😁

Instead of bringing your problem to you, you could push back on to them: ask them to have a "stage" schema (where you do have permission to change) they would just export later to the production environment.

If they want audit, the database surely provide that for them.

Another option is leaving them running the migration themselves... they can provide the proper authentication then.

On Wed, Aug 30, 2017 at 7:09 PM, Eduardo Velazquez <lalo0892@gmail.com> wrote:
Hi,

I've been working with django within the place I work and in order to deploy the django app we're developing we need to migrate the database to a production enviroment.
The database backend we are using is Oracle, and the users permission created for that are just for select, insert, etc, not for setting the database.. the Database Management department are requesting for the raw sql so that they can create the tables for just the django app uses it.

So, my question is... if I export all the sql from the migrations one by one it is possible that the django application runs fine? or is there a way to export all the sql code necessary to run the application and not to run the manage.py migrate command?


Thanks!!

Eduardo

--
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/8aa80602-ce4c-49ed-a1f9-e2da4a8d971e%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/CAKxtECpL4fndfmBwwrTgKbub-9yfLEH%3Dk5-XrdDgsnjh68RHvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment