mirror of
https://github.com/google/nomulus
synced 2026-06-06 15:02:50 +00:00
Drop should publish field from ReservedList entity (#2369)
* Remove the shouldPublish field from the reservedLIst entity * Add generated schema file
This commit is contained in:
@@ -71,10 +71,6 @@ public final class ReservedList
|
||||
*/
|
||||
@Insignificant @Transient Map<String, ReservedListEntry> reservedListMap;
|
||||
|
||||
// TODO(b/321053918): Remove this field once the column is nullable
|
||||
@Column(nullable = true)
|
||||
boolean shouldPublish = true;
|
||||
|
||||
@PreRemove
|
||||
void preRemove() {
|
||||
tm().query("DELETE FROM ReservedEntry WHERE revision_id = :revisionId")
|
||||
|
||||
@@ -69,7 +69,7 @@ class ListReservedListsActionTest extends ListActionTestCase {
|
||||
Optional.of("*"),
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
"^name\\s+.*shouldPublish.*",
|
||||
"^name\\s+.*",
|
||||
"^-+\\s+-+",
|
||||
"^xn--q9jyb4c-private\\s+.*",
|
||||
"^xn--q9jyb4c-published\\s+.*");
|
||||
|
||||
Reference in New Issue
Block a user