Redbean php R::freeze(true) not working -


i have used r::freeze(true); in php application. don't know why redbean alters database table structure. noticed interger type column becomes text automatically.

also have updated variable protected $isfrozen = true; in rb.php. no effect.

without knowing php structure or framework (if any), it's impossible provide answer in relation that. in event, r::freeze( true ) correct syntax. make sure add statement in beginning of application.

i have lot of slimphp applications using readbean , put @ top of index.php right after running r::setup();

<?php  require 'vendor/autoload.php'; r::setup(); r::freeze( true ); 

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -