zomars / bolt-store-hours

An extension to add business hours as a field type within Bolt
3 stars 0 forks source link

Database Issue When Setting Up Extension #6

Closed aljawaid closed 1 year ago

aljawaid commented 6 years ago

I am trying to set up Store HOurs in Bolt 3.4.5 on CentOS PHP7

I add:

business:
    name: Businesses
    singular_name: Business
    fields:
        hours:
            type: storehours

Then it tells me to update the database, which I do, but when I try to add my business hours, it throws an error.

Modifications made to the database:

    Table bolt_business is not the correct schema: invalid column hours, invalid column hours

Am I adding the content type (exactly as above) correctly?

zomars commented 6 years ago

By any means are you using MariaDB instead of MySQL?

aljawaid commented 6 years ago

@zomars I'm using MySQL

aljawaid commented 6 years ago

@zomars any idea how to make it work?

zomars commented 6 years ago

Sorry @aljawaid, I've busy with other projects at the moment and I haven't had the time to update the extension and test it in the latest bolt version. Feel free to make a PR if you have any leads, or If you're patient enough I'll setup a new install and check it out ASAP.

aljawaid commented 6 years ago

thanks @zomars, my knowledge isnt that good with bolt or the system. I will wait for you to see if you can update it.