You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running migrations on MySQL (Server version: 8.0.31 MySQL Community Server - GPL) raises following error
django.db.utils.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cidr NOT NULL, `description` varchar(100) NOT NULL, `master_subnet_id` char(32) ' at line 1")
The CIDR data type is also not supported on MariaDB.
(
'subnet',
models.CharField(
db_index=True,
help_text=(
'Subnet in CIDR notation, eg: "10.0.0.0/24" '
'for IPv4 and "fdb6:21b:a477::9f7/64" for IPv6'
),
max_length=43,
)
I can add openwisp_ipam/migrations/0001_initial.py modified to the above content? If I make changes, I can migrate the database without reporting any errors, but what are the issues if I make the changes?
Running migrations on MySQL (Server version: 8.0.31 MySQL Community Server - GPL) raises following error
The
CIDR
data type is also not supported on MariaDB.openwisp-ipam/openwisp_ipam/base/fields.py
Lines 34 to 43 in 956d9d2
The text was updated successfully, but these errors were encountered: