Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Pragma foreign key true default in Models and Migrations

$
0
0

I am having many problems with 'PRAGMA FOREIGN KEY = ON', I use it to force the constraint and ensure the references in the database, however, the migration run it and it seems that ALLOY ignores or does not know the reason but I can delete a table that has records with relationships and references to her.

I wonder how to force this pragma in my migrations or how to set it as default for all my Models.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>