From 1069dadd109517ceb9c4f84148b3bfee6044ab40 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sun, 8 Oct 2023 10:21:52 -0400 Subject: [PATCH] add flag for if a book is a children's book --- database/migrations/mysql/03-add-childrens-column.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 database/migrations/mysql/03-add-childrens-column.sql diff --git a/database/migrations/mysql/03-add-childrens-column.sql b/database/migrations/mysql/03-add-childrens-column.sql new file mode 100644 index 0000000..2e6a3ff --- /dev/null +++ b/database/migrations/mysql/03-add-childrens-column.sql @@ -0,0 +1,2 @@ +ALTER TABLE `books` +ADD COLUMN `childrens` tinyint(1) NOT NULL DEFAULT 0 \ No newline at end of file