django migrating from sqlite3 to oracle gives error ORA-02000

2018-02-09 Thread Mohamed Saleh


I hava a Django app on a windows server 2012 which was set up with sqlite3 
as the db, but it's going to production so I'm migrating the tables to 
oracle 12c on the server, i don't care about the data just the tables so 
when I run

python manage.py migrate

I get ORA-2000 Error: missing ALWAYS keyword

I'm new to django, what am i missing?

-- 
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+unsubscr...@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/cac7bf33-deb0-422c-870c-c0c6f0e5f5c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django migrating from sqlite3 to oracle gives error ORA-02000

2018-02-09 Thread Jani Tiainen
Hi.

Could you give full traceback and preferably migration code that fails.

Just Oracle error code isn't enough to help you.

9.2.2018 23.12 "Mohamed Saleh"  kirjoitti:

> I hava a Django app on a windows server 2012 which was set up with sqlite3
> as the db, but it's going to production so I'm migrating the tables to
> oracle 12c on the server, i don't care about the data just the tables so
> when I run
>
> python manage.py migrate
>
> I get ORA-2000 Error: missing ALWAYS keyword
>
> I'm new to django, what am i missing?
>
> --
> 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+unsubscr...@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/cac7bf33-deb0-422c-870c-c0c6f0e5f5c1%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+unsubscr...@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/CAHn91oe8FnMFAynYG8VGbqgHNusoDbaDw1dc5TemPai6Tnn%2BPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.