opencad-community / OpenCAD-php

Open Source Computer Aided Dispatch System for Roleplay Communities.

Home Page:https://opencad.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NCIC Editor

devotedsouls opened this issue · comments

Describe the bug
NCIC Editor does not load, loads into error page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Admin Dashboard'
  2. Click on 'NCIC Editor'
  3. See error

Expected behavior
Loads the NCIC error page

Screenshots
Error Page
image

I will update the oc_install.sql style but the fix is to add that column to the ncicWeapons table. If it already exists then just tweak the name.

Looking at oc_install.sql there is a column named weaponPermit. This needs to be named weaponPermitStatus.

The next two columns after that should be:

  • weaponPermitType
  • weaponPermitIssuedBy

These currently have underscores in them. The need to be renamed to align with the new database spec. I just tweaked to oc_install.sql file and am going to push it in a couple of minutes.