app/src/main/java/db/juhaku/juhakudb/core/android/DatabaseHelper.java
/**
     * Create constraints if they do not exist in database.
     *
     * @param db SQLiteDatabase to add constraints for to specific table.
     * @param table {@link Schema} table to add constraints for.
     *
     * @since 2.1.0
     */
Create constraints if they do not exist in database.
@param db SQLiteDatabase to add constraints for to specific table.
@param table  Schema table to add constraints for.


Create constraints if they do not exist in database . @param db SQLiteDatabase to add constraints for to specific table . @param table Schema table to add constraints for .
private void createConstrains(SQLiteDatabase db, Schema table) {
        for (Constraint ctx : table.getConstraints()) {
            db.execSQL(ctx.toString());
        }
    }
private void createConstrains ( SQLiteDatabase db , Schema table ) { for ( Constraint ctx : table . getConstraints ( ) ) { db . execSQL ( ctx . toString ( ) ) ; } }
Create constraints if they do not exist in database.
Create constraints if they do not exist in database .