Commit 6204ba9c authored by catch's avatar catch
Browse files

Issue #2665216 by andypost, gidarai, daffie, mondrake, _utsavsharma, dawehner,...

Issue #2665216 by andypost, gidarai, daffie, mondrake, _utsavsharma, dawehner, catch, longwave, alexpott, Charlie ChX Negyesi: Deprecate Drupal\Core\Database\Connection::nextId() and the {sequences} table and schema
parent b4554185
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1663,6 +1663,11 @@ public function commit() {
   * @return int|string
   *   An integer number larger than any number returned by earlier calls and
   *   also larger than the $existing_id if one was passed in.
   *
   * @deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Modules
   *   should use instead the keyvalue storage for the last used id.
   *
   * @see https://www.drupal.org/node/3349345
   */
  abstract public function nextId($existing_id = 0);

+0 −1
Original line number Diff line number Diff line
@@ -59,7 +59,6 @@ class BlockContentAccessHandlerTest extends KernelTestBase {
   */
  protected function setUp(): void {
    parent::setUp();
    $this->installSchema('system', ['sequences']);
    $this->installSchema('user', ['users_data']);
    $this->installEntitySchema('user');
    $this->installEntitySchema('block_content');
+0 −1
Original line number Diff line number Diff line
@@ -67,7 +67,6 @@ class BlockContentEntityReferenceSelectionTest extends KernelTestBase {
   */
  protected function setUp(): void {
    parent::setUp();
    $this->installSchema('system', ['sequences']);
    $this->installEntitySchema('user');
    $this->installEntitySchema('block_content');

+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ class BlockContentPermissionsTest extends KernelTestBase {
   */
  public function setUp(): void {
    parent::setUp();
    $this->installSchema('system', ['sequences']);
    $this->installEntitySchema('user');
    $this->installEntitySchema('block_content');

+0 −1
Original line number Diff line number Diff line
@@ -85,7 +85,6 @@ protected function setUp(): void {
    $this->installEntitySchema('user');
    $this->installSchema('book', ['book']);
    $this->installSchema('node', ['node_access']);
    $this->installSchema('system', ['sequences']);
    $this->installConfig(['node', 'book', 'field']);
    $node_type = NodeType::create([
      'type' => $this->randomMachineName(),
Loading