Skip to content

Instantly share code, notes, and snippets.

View h1ldebrand's full-sized avatar
🌴
On vacation

Vadim Semenchuk h1ldebrand

🌴
On vacation
View GitHub Profile
@laradevitt
laradevitt / d8module.install
Last active June 17, 2023 14:17
(Drupal 8) Create a table in a database other than the default during module installation. Database must already be specified in settings.php.
<?php
/**
* @file
* Install, update and uninstall functions for the d8module module.
*/
function d8module_schema_otherdb() {
$schema['mytable'] = array(
'description' => 'My table description',