# |
Jul 21st 2017, 07:08 |
birdy247 |
Is there a way to create a seed from data already in a database? |
# |
Jul 21st 2017, 06:12 |
maymeow |
Hi. Houston we have problem... Anyone has running CakePHP app behind proxy?? i have created enviroment like this: `[CakePHP + NGINX] -------> [NGINX Reverse Proxy] <--------- [Internet]` When loading page its look like randomly loaded CSS styles. Anyone has this glitches? |
# |
Jul 21st 2017, 05:04 |
dakota |
Sometimes |
# |
Jul 21st 2017, 04:47 |
Rockwood |
any active here ? |
# |
Jul 20th 2017, 23:34 |
dereuromark |
just dont make the alternative available :slightly_smiling_face: use apache or nginx rewrite to directly 301 to the https one when coming to the website |
# |
Jul 20th 2017, 23:34 |
dereuromark |
by being https it will do that automatically |
# |
Jul 20th 2017, 23:18 |
thomasnucleus |
How can I make it so any fullbase links generated with HtmlHelper or $this->redirects do https:// instead of http:// |
# |
Jul 20th 2017, 23:09 |
phpnut |
night |
# |
Jul 20th 2017, 23:08 |
ericadeefox |
goodnight cakephp!!! :) |
# |
Jul 20th 2017, 23:06 |
ericadeefox |
it'll easily be done in just one file |
# |
Jul 20th 2017, 23:06 |
phpnut |
ok even easier |
# |
Jul 20th 2017, 22:58 |
ericadeefox |
the new join table and fields exist, just need to migrate from old field to new join table, then delete the old field |
# |
Jul 20th 2017, 22:57 |
phpnut |
yeah |
# |
Jul 20th 2017, 22:57 |
phpnut |
write one to add the new fields |
# |
Jul 20th 2017, 22:57 |
ericadeefox |
like the migrations plugin is its own example yea |
# |
Jul 20th 2017, 22:57 |
phpnut |
it is really |
# |
Jul 20th 2017, 22:57 |
ericadeefox |
looks like it'd just be really simple to write w migrations plugin |
# |
Jul 20th 2017, 22:54 |
phpnut |
@ericadeefox let me see if I can find an example you could use |
# |
Jul 20th 2017, 22:53 |
phpnut |
the flying to the moon part that is |
# |
Jul 20th 2017, 22:52 |
phpnut |
take photos or it never happned |
# |
Jul 20th 2017, 22:52 |
ericadeefox |
^^I like this idea, I'll research this right now |
# |
Jul 20th 2017, 22:52 |
ericadeefox |
and if done successfully I will save myself lots of headache, give myself a fun side project, earn the unfettered respect of my colleagues, fly to moon etc. |
# |
Jul 20th 2017, 22:51 |
phpnut |
yup |
# |
Jul 20th 2017, 22:51 |
ericadeefox |
many of these rows are possibly never gonna be used again, so missing some is a possibility. but yea writing a migration script, I'd just run the thing once and there we are |
# |
Jul 20th 2017, 22:51 |
phpnut |
that is the best way |
# |
Jul 20th 2017, 22:51 |
phpnut |
write a migration for it :slightly_smiling_face: |
# |
Jul 20th 2017, 22:50 |
phpnut |
and you might miss some |
# |
Jul 20th 2017, 22:50 |
phpnut |
you might be able to do it when a request is made, moving it to the new table but this could be a performance hit |
# |
Jul 20th 2017, 22:50 |
ericadeefox |
^^ahh, that's a good idea |
# |
Jul 20th 2017, 22:50 |
phpnut |
so I would write a script that would convert it all |
# |
Jul 20th 2017, 22:49 |
braeden |
:) |
# |
Jul 20th 2017, 22:49 |
braeden |
(I have no idea) |
# |
Jul 20th 2017, 22:49 |
braeden |
do it manually |
# |
Jul 20th 2017, 22:48 |
ericadeefox |
so part of my current upgrade from 2.x to 3.x is phasing out a particular field in one table and creating a join table instead. anyone got tips on how to make this as painless as possible? cos all I got so far is "do it manually" :dizzy_face: |
# |
Jul 20th 2017, 22:47 |
inoas |
over night from helsinki in a car |
# |
Jul 20th 2017, 22:47 |
inoas |
she then flet the udssr right after that concert - to the uk |
# |
Jul 20th 2017, 22:47 |
inoas |
my most loved violin piece https://www.youtube.com/watch?v=EdQdRGc0nhY#t=2m |
# |
Jul 20th 2017, 22:47 |
braeden |
well that cup of coffee went way too quickly :,( |
# |
Jul 20th 2017, 22:46 |
phpnut |
you need a proxy |
# |
Jul 20th 2017, 22:46 |
braeden |
:) |
# |
Jul 20th 2017, 22:46 |
inoas |
all the links not available in germany... screw the music industry. |