Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When trying to install the module on the setup where MSSQL is used, we are getting the below error.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Column, parameter, or variable #2: Cannot specify a column width on data type int.: CREATE TABLE [force_password_change_roles] ( [rid] nvarchar(128) COLLATE Latin1_General_CI_AI NOT NULL, [last_force] int(10) CHECK ([last_force] >= 0) ); Array ( ) in drupal_install_schema() (line 122 of C:\inetpub\wwwroot\glt\docroot\core\includes\schema.inc).
Comment | File | Size | Author |
---|---|---|---|
#3 | cannot-specify-a-column-width-on-data-type-int-3070533-3.patch | 478 bytes | rajeevgole |
Comments
Comment #2
rajeevgoleComment #3
rajeevgoleComment #4
larisse CreditAttribution: larisse at CI&T commentedThis still a problem in 2.0.x version?