Comments (2)
I renamed your issue, we need to seriously think about database migrations. The easiest way is to drop the table and let munkireport recreate it, but that may mean that you lose data (from machines that don't report very often).
The issue at hand is that I changed the physical_memory column from VARCHAR to INT. To accommodate this change in initialised databases, you'll have to change the column definition.
In MySQL you could run:
START TRANSACTION;
UPDATE machine SET physical_memory = SUBSTRING_INDEX(physical_memory, ' ', 1);
ALTER TABLE machine MODIFY physical_memory INT;
COMMIT;
For SQLite it is a little more daunting, because SQLite does not support altering a column type. So we would have to create a temporary table, copy the current table, drop the current table, create the new table, copy the data to the new table and drop the temporary table.
from munkireport-php.
Resolved with dc8d287
from munkireport-php.
Related Issues (20)
- Add CPU details to Hardware Listings and Reports
- make navbar scrollable HOT 1
- almost half of the reports are showing a null value error HOT 3
- WIP: It isnt possible to create an admin user after the initial seed
- local_users table group_memership field too short HOT 2
- WIP: Navigation menu lists all possible modules not just enabled ones HOT 3
- Error reported for missing /Library/Managed Installs/AppleUpdates.plist HOT 3
- Reflected cross site scripting in /report
- Please consider not setting BaseUrl via the postinstall script HOT 1
- Module Template HOT 1
- WIP: Reports and Listings navigation are not sorted alphabetically HOT 1
- WIP: Dropdown navigation overflows the screen, cant scroll down
- WIP: Regression in machines module, some actions not accessible HOT 1
- WIP: Freezing when submitting a Business Unit / Machine Group HOT 3
- WIP: Improve documentation on local user changes for v6
- Migration to 5.8.0: 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found HOT 8
- Fix release script
- http auth basic broken on 5.8.0 with python 3.10 HOT 3
- Parsedown error in Comment_Controller v.5.8 HOT 1
- Apps Version Report - Space in app name - Forbidden, You don't have permission to access this resource. HOT 6
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 munkireport-php.