From 415a0a96a76afbe7f1ad2f51862641793caf1b6c Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sun, 8 Sep 2024 17:53:55 +0200 Subject: Initial commit --- src/application/mystic/forum/attributes/Column.php | 11 +++++++++++ src/application/mystic/forum/attributes/NotNull.php | 6 ++++++ src/application/mystic/forum/attributes/PrimaryKey.php | 6 ++++++ src/application/mystic/forum/attributes/References.php | 15 +++++++++++++++ src/application/mystic/forum/attributes/Table.php | 10 ++++++++++ 5 files changed, 48 insertions(+) create mode 100644 src/application/mystic/forum/attributes/Column.php create mode 100644 src/application/mystic/forum/attributes/NotNull.php create mode 100644 src/application/mystic/forum/attributes/PrimaryKey.php create mode 100644 src/application/mystic/forum/attributes/References.php create mode 100644 src/application/mystic/forum/attributes/Table.php (limited to 'src/application/mystic/forum/attributes') diff --git a/src/application/mystic/forum/attributes/Column.php b/src/application/mystic/forum/attributes/Column.php new file mode 100644 index 0000000..aee47a2 --- /dev/null +++ b/src/application/mystic/forum/attributes/Column.php @@ -0,0 +1,11 @@ +foreignTableName . ($this->foreignColumnName !== null ? " ({$this->foreignColumnName})" : ""); + } +} diff --git a/src/application/mystic/forum/attributes/Table.php b/src/application/mystic/forum/attributes/Table.php new file mode 100644 index 0000000..60fe1ae --- /dev/null +++ b/src/application/mystic/forum/attributes/Table.php @@ -0,0 +1,10 @@ +