Comments (2)
Update: Did a little looking around and found out the request validator in app/Requests/DatabaseEnvironmentRequest.php
catches this. I don't believe it should have a max length because someone could connect to an external database.
In app\Space\EnvironmentManager.php
there is a check on line 57 for database tables, but this command does not work in Postgres. When using \Schema::hasTable('users')
instead (to check for preexisting migration) I was able to proceed with setup. It also successfully prevents setup if the database is already populated.
from crater.
Update: Did a little looking around and found out the request validator in
app/Requests/DatabaseEnvironmentRequest.php
catches this. I don't believe it should have a max length because someone could connect to an external database.In
app\Space\EnvironmentManager.php
there is a check on line 57 for database tables, but this command does not work in Postgres. When using\Schema::hasTable('users')
instead (to check for preexisting migration) I was able to proceed with setup. It also successfully prevents setup if the database is already populated.
Thanks for reporting the issue. We've removed the hostname validation of 50 characters to allow larger values.
Also, we've added a prefix to all the crater related tables and updated the DB Check to \Schema::hasTable('cr_users')
so users can install crater in existing databases ( not forcing them to create a new DB specifically for crater).
Above changes will be added in the next update.
from crater.
Related Issues (20)
- Error Message Undefined Index Currency HOT 1
- Previous and Current consumption HOT 1
- Option to migrate data from Akaunting backup HOT 2
- Lost all invoices HOT 3
- Template Invoice Total is always purple HOT 1
- Undefined array key \"tax\" and items not shown on invoice with admin API call HOT 1
- It is still in development? HOT 5
- Try InvoiceShelf fork based on Crater! 🫶 HOT 4
- Incorrect Currency Symbol in Report for New Company HOT 2
- when i'm changing Logo of crater App, But getting error "Please check your internet connection or wait until servers are back online" HOT 3
- Please make the Crater IOS App also available for Switzerland HOT 2
- Publish Container to Dockerhub? HOT 2
- 403 Forbidden You don't have permission to access this resource HOT 3
- Currency Missing: LYD HOT 2
- Customizing logo on customer login page HOT 2
- Unable to edit notes HOT 2
- Fresh docker install: "pull access denied for crater-php, repository does not exist or..." HOT 3
- Page not redirecting after login HOT 2
- Tax Negative IRPF Spain HOT 3
- delete this
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crater.