Initial release
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Contao\DC_Table;
|
||||
|
||||
$GLOBALS['TL_DCA']['tl_calendar_events_organization'] = [
|
||||
'config' => [
|
||||
'dataContainer' => DC_Table::class,
|
||||
'sql' => [
|
||||
'keys' => [
|
||||
'id' => 'primary',
|
||||
'event_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],
|
||||
],
|
||||
'event_id' => [
|
||||
'sql' => ['type' => 'integer', 'unsigned' => true, 'default' => 0, 'notnull' => true],
|
||||
],
|
||||
'organization_id' => [
|
||||
'sql' => ['type' => 'integer', 'unsigned' => true, 'default' => 0, 'notnull' => true],
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user