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
roachtest: enable create_table_with_schema_locked for ORM tests
Previously, schema_locked had to be manually set after creating objects,
to make sure objects were schema_locked. We recently added the ability
to create tables by default with schema_locked, which we will enable by
default in our ORM tests.
Informs: #129694
Release note: None
Copy file name to clipboardExpand all lines: pkg/cmd/roachtest/tests/django_blocklist.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,9 @@ var enabledDjangoTests = []string{
158
158
159
159
// Maintain that this list is alphabetized.
160
160
vardjangoBlocklist=blocklist{
161
+
// Schema change used by this test:
162
+
// ALTER TABLE schema_author ALTER COLUMN name SET DATA TYPE STRING, ALTER COLUMN name DROP NOT NULL
163
+
`schema.tests.SchemaTests.test_alter`: "ALTER COLUMN ... DROP NOT NULL is not supported in declarative schema changer (prevents from working with schema_locked)",
161
164
`schema.tests.SchemaTests.test_alter_text_field_to_date_field`: "alter type requires USING",
162
165
`schema.tests.SchemaTests.test_alter_text_field_to_datetime_field`: "alter type requires USING",
163
166
`schema.tests.SchemaTests.test_alter_text_field_to_time_field`: "alter type requires USING",
0 commit comments