Initial release

This commit is contained in:
Jürgen Mummert
2026-02-17 18:53:23 +01:00
commit 63b5556b21
45 changed files with 3962 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
use Contao\DC_Table;
$GLOBALS['TL_DCA']['tl_member_organization'] = [
'config' => [
'dataContainer' => DC_Table::class,
'sql' => [
'keys' => [
'id' => 'primary',
'member_id' => 'index',
'organization_id' => 'index',
],
],
],
'fields' => [
'id' => [
'sql' => ['type' => 'integer', 'unsigned' => true, 'autoincrement' => true, 'notnull' => true],
],
'tstamp' => [
'sql' => ['type' => 'integer', 'unsigned' => true, 'default' => 0, 'notnull' => true],
],
'member_id' => [
'sql' => ['type' => 'integer', 'unsigned' => true, 'default' => 0, 'notnull' => true],
],
'organization_id' => [
'sql' => ['type' => 'integer', 'unsigned' => true, 'default' => 0, 'notnull' => true],
],
],
];