summaryrefslogtreecommitdiffstats
path: root/database.sql
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2019-10-29 01:37:57 +0100
committerThomas Lange <code@nerdmind.de>2019-10-29 01:50:50 +0100
commitcd17efc82a5ed560a50b8a1619e4e724098eb209 (patch)
tree0bf334219e1ef8adc17c20004ca31efeced65abd /database.sql
parentfb7d34f69a0e47643c1e16c9e3d72dbc74b4bc4d (diff)
downloadblog-cd17efc82a5ed560a50b8a1619e4e724098eb209.tar.gz
blog-cd17efc82a5ed560a50b8a1619e4e724098eb209.tar.xz
blog-cd17efc82a5ed560a50b8a1619e4e724098eb209.zip
Remove PHP closing tags and add LF to text files
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
Diffstat (limited to 'database.sql')
-rw-r--r--database.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/database.sql b/database.sql
index 3ff1063..3f77a3b 100644
--- a/database.sql
+++ b/database.sql
@@ -76,4 +76,4 @@ ALTER TABLE `user` MODIFY `id` tinyint(4) NOT NULL AUTO_INCREMENT;
-- Add foreign keys for data integrity
-- =============================================================================
ALTER TABLE `page` ADD CONSTRAINT `page_user` FOREIGN KEY (`user`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
-ALTER TABLE `post` ADD CONSTRAINT `post_user` FOREIGN KEY (`user`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; \ No newline at end of file
+ALTER TABLE `post` ADD CONSTRAINT `post_user` FOREIGN KEY (`user`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;