rgasch / filament-extended-starter-kit

73 stars 9 forks source link

Bare metal install - settings isn't initializing #14

Open HeartlandTechie opened 1 year ago

HeartlandTechie commented 1 year ago

I'm not sure how this part is supposed to work, but to circumvent things I just used this statement to insert the initial values:

insert into settings (group,name,locked,payload) values ('sites','site_name',0, '"3x1"'); insert into settings (group,name,locked,payload) values ('sites','site_description',0, '"Creative Solutions"'); insert into settings (group,name,locked,payload) values ('sites','site_keywords',0, '"Graphics, Marketing, Programming"'); insert into settings (group,name,locked,payload) values ('sites','site_profile',0, '""'); insert into settings (group,name,locked,payload) values ('sites','site_logo',0, '""'); insert into settings (group,name,locked,payload) values ('sites','site_author',0, '"Fady Mondy"'); insert into settings (group,name,locked,payload) values ('sites','site_address',0, '"Cairo, Egypt"'); insert into settings (group,name,locked,payload) values ('sites','site_email',0, '"info@3x1.io"'); insert into settings (group,name,locked,payload) values ('sites','site_phone',0, '"+201207860084"'); insert into settings (group,name,locked,payload) values ('sites','site_phone_code',0, '"+2"'); insert into settings (group,name,locked,payload) values ('sites','site_location',0, '"Egypt"'); insert into settings (group,name,locked,payload) values ('sites','site_currency',0, '"EGP"'); insert into settings (group,name,locked,payload) values ('sites','site_language',0, '"English"'); insert into settings (group,name,locked,payload) values ('sites','site_social',0, "[]");

radumro commented 9 months ago

i think it's better to create a dbseeder with the initial values