Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Database table with prefix causing error.

    Bug Report
    3
    7
    708
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      anil07 last edited by

      I want to integrate bagisto in my system but I want the database
      table should be used by some prefix like 'store_tablename'. I tried it but
      it's throwing error.

      So can I know how can I do it?

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @anil07

        Can you attach a error screenshot ?

        Thanks

        1 Reply Last reply Reply Quote 0
        • A
          anil07 last edited by

          Hi Rahul,

          Here is the screenshot

          c45faad8-2dfc-4f39-a623-9dfd17e78337-image.png

          1 Reply Last reply Reply Quote 0
          • N
            Naresh-webkul last edited by

            Hello @anil07

            It looks like you have change the name of core table, thats why its throwing error. Can you tell us that exactly when you are facing this issue so that we can resolve the issue in a better way.

            Thank you.

            A 1 Reply Last reply Reply Quote 0
            • A
              anil07 @Naresh-webkul last edited by

              @Naresh-webkul
              Yes you are right , but I used prefix functionality of laravel. I only added prefix in database.php file and env file before installation. So I think it should work

              1 Reply Last reply Reply Quote 0
              • N
                Naresh-webkul last edited by

                @anil07

                We are working on this and we will get back to you ASAP.
                Thank you.

                1 Reply Last reply Reply Quote 0
                • N
                  Naresh-webkul last edited by

                  Hello @anil07 ,

                  This issue will be resolve in our next bagisto release.
                  you can check the following link:
                  https://github.com/bagisto/bagisto/pull/1853

                  Thank you.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post