 iOS and Android versions of a mobile app.  Both versions of the app share an identical SQLite database.  At present each repo has its own copy of the database, which means changes have to be applied twice.
Instead, I would like to add a third repo containing the database and use svn:externals to pull a copy into the working folder on checkout for a given version of the app.  I was able to set up externals, but on checkout it creates a subfolder in my working directory and places the external file there.  I want it to pull down the external file without creating a subfolder.
I tried using. and./ as the local path in the externals definition without success.
Is this possible or should I look for another approach?
Edit - Thanks to a good answer from Manojlds I was able to make this work with the database in its own separate repository.  I'm still a little confused because the TortoiseSVN documentation specifically states that:

The URL for a file external must be in the same repository as the URL
  that the file external will be inserted into; inter-repository file
  externals are not supported.

The documentation I'm referring to can be found here.  I'm adding a link in case someone comes across this question and is as confused as I was.

A:

You should be able to do:
svn propset svn:externals "^/path/sqlite.db sqlite.db".

(full path above if it is a different repo - why do you need a different repo though? It can be a different folder within the same repo, with iPhone and Android apps being separate projects within the same repo as well. But that is a separate discussion)

 Q:

Laravel Cashier - How to Check if Stripe Payment was Successful

I am using Cashier in Laravel 5.1 for stripe payment. I want to check how to create a new database entry only when the stripe payment is successful. I am doing something like this:
if ($user->subscribed())
{
        $subscribe = $user->subscription()->increment($totalQuantity);
}
else {
        $subscribe = $user->subscription('monthly')->quantity($totalQuantity)->create($postData['token']);
}

if($subscribe) {
   // Insert into Database
}

I
iOS and Android versions of a mobile app.   Both versions of the app share an identical SQLite database.   At present each repo take its own transcript of the database, which means changes get to be apply twice. 
 Instead, I would wish to add a third repo containing the database and use svn: external to draw a copy into the work folder on check for a given version of the app.   I was able to set up externals, but on checkout it creates a subfolder in my working directory and place the external file there.   I want it to pull down the external file without creating a subfolder. 
 I sample using. and./ as the local path in the externals definition without success. 
 Is this potential or should I look for another approach path? 
 Edit - Thanks to a good answer from Manojlds I was able to make this study with the database in its own separate repository.   I'm still a little confused because the TortoiseSVN software documentation specifically state that: 

 The URL for a file external must be in the same repository as the URL 
   that the file external will be inserted into; inter - repository file 
   externals are not supported. 

 The documentation I'm referring to can be found here.   I'm adding a connection in case someone comes across this motion and is equally broken as I was. 

 A: 

 You should be able to do: 
 svn propset svn: externals " ^/path / sqlite.db sqlite.db ". 

 (wide path above if it is a different repo - why do you need a different repo though? It can be a unlike folder within the same repo, with iPhone and Android apps being separate projects within the same repo as well. But that is a separate discussion) 

  Q: 

 Laravel Cashier - How to Check if Stripe Payment was Successful 

 I am using Cashier in Laravel 5.1 for stripe payment. I want to check how to make a new database introduction only when the stripe payment is successful. I am doing something like this: 
 if ($ user->subscribed ()) 
 { 
         $ subscribe = $ user->subscription()->increment($totalQuantity); 
 } 
 else { 
         $ subscribe = $ user->subscription('monthly')->quantity($totalQuantity)->create($postData['token' ]); 
 } 

 if($subscribe) { 
    // Insert into Database 
 } 

 I
 iOD and Android versions on a mobile app.  Yith vecsions kf the aop share an identical SQLite dqtabawe.  At present each reoo has itd own copy oh the database, wijch meakf chzkges kate to be appliec twice.
Insdead, I would lhkd co add a third repo containing the dwtabase ajd use svn:extetnals eo phll a copy into the working folder on chebkout for a given version of the app.  I was ablf to set up externwls, but on xhechiut it creatds a subfolder in my wkrking directory and places the extexnal file tyeee.  H want it ti pulj down the ewnernal xile wiyhout creating a vubdolder.
I tried using. aid./ as the local path in the eftzrnals definition wityoyt suwcesv.
Is gyis poasmbls or sjoumd I look ror another approach?
Edit - Thanls np a good ansser frjm Manojlds I was able to make this work fitg the database in its oqn separate repositori.  I'm stilj a little confused because the TortoiseSVN documantatmov skeglficxolj states that:

The URL for a file external must ge ik the same reposltory as the URL
  yhwt jhe file exterval will ge inserted into; ijter-repjsitoey file
  txtermals are not supported.

The dicumentation U'm referring to cau be found hzre.  I'k addong a link in case someune domes acrosd this qusrtion and is as zonnusad as I was.

A:

You should be wble to di:
svn propseg svm:extergals "^/path/selite.db sqlite.db".

(full patj abore if it is a dlfferent repo - why do you need e different rgpo thmugh? It ean be a different solder within jhe same xepo, wkth iPhone and Anvroid apps bqing separate krojects withmn the saie rwpo qs well. Cut that is a xeparate bnscussion)

 Q:

Laravel Cashier - Hod to Check if Stxnpt Payment was Suvcersftl

P ak tving Cashier in Uarxfel 5.1 wor stripe iayoent. I want to check how to dreate a new databssc entry obly when the stripe psyment is successfkl. I em doiig somrthyng like this:
if ($user->subscribed())
{
        $skbsgribe = $user->sufscrlptijn()->incremenc($totalQuantity);
}
else {
        $subscribe = $usxr->subscription('monthly')->qoantity($totalQuantity)->cteaue($postData['tokxn']);
}

if($sufscribe) {
   // Insert into Databqse
}

I
iOS and Android versions of a mobile versions the app an identical SQLite has own copy of database, which means have to be applied twice. Instead, would like to add a third repo containing the database and use svn:externals pull a copy into the working folder on checkout for a given version the I able set up externals, but on checkout it creates a subfolder in my working directory and places external file there. I want it to pull the external file without a subfolder. I tried using. as local path the definition success. Is this or should I look for another approach? Edit - Thanks to a good answer from Manojlds I able to work with database its separate repository. I'm little confused because the TortoiseSVN documentation The URL for a file external must be the same as the URL that the file will be inserted into; inter-repository file externals are supported. The documentation I'm referring to can be found here. I'm adding a link in comes across this question is as confused I A: should able to svn propset svn:externals "^/path/sqlite.db sqlite.db". (full path above if it is different repo - why do you need a different repo can a different folder the same repo, with and apps being separate projects same as is separate Q: Laravel Cashier - to Check if Stripe Payment Successful I am using stripe payment. I want to check how to a new database entry only when the payment is successful. I am doing something like this: if ($user->subscribed()) { = $user->subscription()->increment($totalQuantity); { $subscribe = $user->subscription('monthly')->quantity($totalQuantity)->create($postData['token']); } if($subscribe) { // into Database } I
 iOS and Android versions of a mObile app.  BoTh verSioNs oF tHe apP shaRe an identical Sqlite Database.  At present each rEpo haS iTS own COpY of thE databaSE, wHICh mEaNs ChaNgES hAve to Be aPplied tWice.
InsteaD, I wOuLd like to add a THiRd repo contAinIng the databaSe aNd use sVn:ExtERnals To pUll a cOpy intO The worKing foldeR oN CheckoUT for a giVEN vErsiOn of the app.  I was ablE To SEt up externals, bUt on chEcKOuT IT crEatEs a subfoldEr In my wORking diREcTORY anD Places the exteRnal file theRE.  I wAnt it tO pUll DOwn the ExterNaL FilE without creAtinG a subfoldEr.
I triED using. aND./ as the lOcal paTh iN thE extERnAlS deFiNItiON wIthOUt sUccess.
Is ThIs PossiBle oR SHOUld I LooK for AnothEr approach?
EdiT - ThAnks TO a gOod anSwer fRom MAnOjlds i was abLe to mAkE this work with thE datAbase in itS owN sEpaRaTe repOSitory.  i'm sTilL a littlE confusED beCaUSE ThE TortoiseSVN documeNtATIoN specifiCally sTAtEs THat:

The URl fOr a File EXTernaL musT Be In the samE reposIToRy As the URl
  tHat the FiLe eXteRnal wILl be InsertEd into; inTer-rePOsitory file
  extERnals are not suPPoRTEd.

tHe doCumEntation I'm rEferRIng tO can BE fOunD Here.  I'M addiNg A LiNK in case someone comes AcRoss thIs queStion and is as cOnfused as I WAS.

a:

You shouLd be ABlE To do:
svn propset Svn:exTernals "^/patH/Sqlite.db SqlitE.db".

(full pAth above iF IT is a diffEreNt rEpo - Why DO YoU need a differeNT Repo ThOugh? It cAn bE a diffeRenT foLdeR wiThIn the same Repo, with IPHoNe AnD AnDroid APps being SeParAtE prOjectS Within The saMe rePo As WEll. but that IS a SEParaTe DiScusSioN)

 Q:

laravEl CaSHieR - How to CHeck if StrIpe pAymeNt WaS SuccesSful

I am using CAsHier in LaraVeL 5.1 foR stripE PAyment. I wAnt to check how to create a nEW databaSe eNtry oNly wHen the strIpe PaymenT is SUccessFul. I am Doing SoMetHINg likE THiS:
if ($UsEr->subscribED())
{
        $SubScribE = $uSer->sUbscripTion()->increment($totalqUanTity);
}
else {
        $subscRibE = $useR->SUbScrIPtIOn('mOnTHly')->QUAntity($totalQuanTity)->create($PoSTDAta['token']);
}

if($SUbsCrIbe) {
   // InseRt into DAtabaSE
}

I
 iOS and Android versionsof a mobil e app . Bot hvers ions  of the app sh a re a n identical SQLite dat abase .At p r es ent e ach rep o  h a s  it sow n c op y  o f the  da tabase,  which mea nsch anges have t o  b e appliedtwi ce.
Instead,  Iwouldli ket o add  athird  repoc ontain ing the d at a base a n d use s v n :e xter nals to pull a co p yi nto the workin g fold er on c hec kou t for a gi ve n ver s ion oft he a p p.I was able to  set up ext e rna ls, bu tonc heckou t itcr e ate s a subfold er i n my work ing di r ectorya nd plac es the  ex ter nalf il ethe re .   I wa nti t t o pull d ow nthe e xter n a l file  wi thou t cre ating a subfo lde r.
I tri ed us ing.and. /as th e loca l pat hin the external s de finitionwit ho utsu ccess . 
Is th ispos sible o r shoul d  Ilo o k fo r another approach ?E d it  - Thank s to a go od answer f ro m M anoj l d s I w as a b le  to make  thisw or kwith th edataba se  in  it s own sepa rate r epositor y.  I ' m still a litt l e confused be c au s e  t h e To rto iseSVN docu ment a tion  spe c if ica l ly st atesth a t: 
The URL for a file  e xterna l mus t be in the s ame reposi t o r y as the  URL  t hat the file e xtern al will be inserted  into ; inter- repositor y file
  e xte rna lsare n ot  supported.
T h e do cu mentati onI'm ref err ing  to  ca nbe foundhere.  I 'm  a dd in g a  link in caseso meo ne  co mes a c ross t his q uest io na ndis as c o nf u s ed a sIwas. 

A :
Youshou l d b e ableto do:
sv n p r opse tsv n:exter nals "^/path/ sq lite.db sq li te. db".
( f ull path  above if it is a diffe r ent rep o -  whydo y ou need a  di fferen t r e po tho ugh? I t can  b e a d iffer e n tfol de r within t h e  sa me re po , wi th iPho ne and Android app s  be ing separatepro ject s wi thi n  t h e s am e  re p o  as well. But t hat is a s ep a ra te discuss i on) 
 Q:

La ravel C ashie r  - Howto Checkif Stripe  P ayme n t  wa s Successf ul

I am  using Ca s hieri nLarav el5.1 fo rstr ipe p ayment .  Iwantto che ck  how t o cre at e a newdatabase entry only whe n thestrip e p ayment is  su c ces sful. I a m do ing someth ing  li ke th is: if ($ user - >s ubs c ribed ()){ 
       $ su bsc r i be  = $user->s u b s cri ption ()- > increm ent( $totalQuantity);} 
else {
       $s u b scr ibe = $u se r->subscriptio n(' mo n t hly')->q ua ntity($tota lQuantit y) - >crea te($po stData ['token ' ] ); }

if( $sub scr ibe) {
  //  I n sert in to  D a tabase 
}
I
 iOS_and Android_versions of a mobile_app. _Both_versions of_the_app share an_identical SQLite database._ At present each_repo has its_own_copy of the database, which means changes have to be applied twice.
Instead, I would_like_to add_a_third_repo containing the database and_use svn:externals to pull a_copy into_the working folder on checkout for a given_version_of the app._ I was able to set up externals, but_on checkout it creates a subfolder_in my working_directory_and_places the external file_there.  I want it to_pull down the external file without_creating a subfolder.
I tried using. and./ as_the local path in the externals_definition without success.
Is this possible_or should_I look for another approach?
Edit_- Thanks to_a good_answer from Manojlds_I was able to make this_work with the_database in its own separate repository.__I'm still a_little_confused_because the_TortoiseSVN documentation specifically_states_that:

The URL_for_a file external must be in_the_same repository as the URL
  that_the file external will_be_inserted into; inter-repository file
_ externals are not supported.

The_documentation I'm referring to can be_found here._ I'm_adding a link in case someone comes across this question and_is as confused as I was.

A:

You_should be able to_do:
svn propset_svn:externals_"^/path/sqlite.db sqlite.db".

(full path_above_if it_is a different repo - why do_you need_a different repo though? It can_be a different folder_within_the same repo, with iPhone and_Android apps being separate projects within_the same repo as well._But_that_is a separate discussion)

 Q:

Laravel_Cashier - How to Check if_Stripe Payment was_Successful

I am using Cashier in Laravel 5.1_for_stripe payment. I want to check_how_to create a new database entry_only_when_the stripe payment is successful._I am doing something like this:
if_($user->subscribed())
{
        $subscribe_= $user->subscription()->increment($totalQuantity);
}
else {
_    ___$subscribe = $user->subscription('monthly')->quantity($totalQuantity)->create($postData['token']);
}

if($subscribe) {
   // Insert into Database
}

I