mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 14:40:57 -04:00
- add Quotes agent, - implement get all quotes and get all categories queries, - extract PagedData from ListDirData and reuse it in QuotesMessages, - unify naming in Quotes and FileIndexer, - add Quotes agent unit tests
121 lines
6.4 KiB
SQL
121 lines
6.4 KiB
SQL
-- Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
||
-- For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
||
|
||
INSERT OR REPLACE INTO quote_languages (lang_id, lang_name) VALUES
|
||
(1, 'Polish'),
|
||
(2, 'English'),
|
||
(3, 'Spanish'),
|
||
(4, 'French'),
|
||
(5, 'German');
|
||
|
||
|
||
INSERT OR REPLACE INTO category_table (category_id, category_name) VALUES
|
||
(1, 'Category 1'),
|
||
(2, 'Category 2'),
|
||
(3, 'Category 3'),
|
||
(4, 'Category 4'),
|
||
(5, 'Category 5'),
|
||
(6, 'Custom');
|
||
|
||
|
||
INSERT OR REPLACE INTO quote_table (quote_id, lang_id, quote, author) VALUES
|
||
(1, 1, 'Nie żyj przeszłością, nie marz o przyszłości, skoncentruj umysł na chwili obecnej.', 'Buddha'),
|
||
(2, 1, 'Tylko traktując każdą minutę jako niepowtarzalny cud, można naprawdę żyć.', 'Tara Brach'),
|
||
(3, 1, 'Najprostsze rzeczy są często najprawdziwsze.', 'Richard Bach'),
|
||
(4, 1, 'Zawsze mów »tak« chwili obecnej. Mów »tak« życiu.', 'Eckhart Tolle'),
|
||
(5, 1, 'Zwolnij, uprość swoje życie i bądź życzliwy.', 'Naomi Judd'),
|
||
(6, 1, 'Możesz zwolnić. Pozwól swoim marzeniom i celom się zmieniać, ale żyj rozmyślnie.', 'Kumail Nanjiani'),
|
||
(7, 1, 'Myśli zakłócają spokój – medytacja to brak myśli.', 'Ramana Maharshi'),
|
||
(8, 1, 'Miłość jest stanem istnienia. Twoja miłość nie jest na zewnątrz, tylko w głębi ciebie.', 'Eckhart Tolle'),
|
||
(9, 1, 'Bądź świadomy. Bądź wdzięczny. Bądź pozytywny. Bądź prawdziwy. Bądź życzliwy.', 'Roy T. Bennett'),
|
||
(10, 1, 'Najlepszym sposobem uchwytywania chwil jest bycie skupionym. Tak się pielęgnuje uważność.', 'Jon Kabat-Zinn'),
|
||
(11, 1, 'Możemy żyć bez religii i medytacji, ale nie przetrwamy bez ludzkich uczuć.', 'Dalajlama'),
|
||
(12, 1, 'Jesteś niebem. Wszystko inne to tylko pogoda.', 'Pema Chödrön'),
|
||
(13, 1, 'Umiejętność upraszczania oznacza eliminowanie tego, co niepotrzebne, by mogło dojść do głosu to, co niezbędne.', 'Hans Hofmann'),
|
||
(14, 1, 'Im bardziej się skupiasz na czasie – przeszłości i przyszłości – tym więcej tracisz Teraźniejszości, naszej najcenniejszej rzeczy.', 'Eckhart Tolle'),
|
||
(15, 1, 'Aby naprawdę żyć, trzeba to robić w sposób uważny. Bądź tu teraz.', 'Akiroq Brost'),
|
||
(16, 1, 'Wczoraj jest historią. Jutro jest tajemnicą. Dzisiaj jest darem. Nie można się nim cieszyć kiedy indziej.', 'Alice Morse Earle'),
|
||
(17, 1, 'O powodzeniu w życiu można mówić wtedy, gdy chcesz tylko tego, czego naprawdę potrzebujesz.', 'Vernon Howard'),
|
||
(18, 1, 'Wycisz szum, odnajdź prostotę.', 'Albert Einstein'),
|
||
(19, 2, 'Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment.', 'Buddha'),
|
||
(20, 2, 'The only way to live is by accepting each minute as an unrepeatable miracle.', 'Tara Brach'),
|
||
(21, 2, 'The simplest things are often the truest.', 'Richard Bach'),
|
||
(22, 2, 'Always say ‘yes’ to the present moment. Say ‘yes’ to life.', 'Eckhart Tolle'),
|
||
(23, 2, 'Slow down, simplify and be kind.', 'Naomi Judd'),
|
||
(24, 2, 'You can go slow. Allow your dreams and goals to change, but live an intentional life.', 'Kumail Nanjiani'),
|
||
(25, 2, 'When there are thoughts, it is distraction: when there are no thoughts, it is meditation.', 'Ramana Maharshi'),
|
||
(26, 2, 'Love is a state of Being. Your love is not outside; it is deep within you.', 'Eckhart Tolle'),
|
||
(27, 2, 'Be mindful. Be grateful. Be positive. Be true. Be kind.', 'Roy T. Bennett'),
|
||
(28, 2, 'The best way to capture moments is to pay attention. This is how we cultivate mindfulness.', 'Jon Kabat-Zinn'),
|
||
(29, 2, 'We can live without religion and meditation, but we cannot survive without human affection.', 'Dalajlama'),
|
||
(30, 2, 'You are the sky. Everything else is just the weather.', 'Pema Chödrön'),
|
||
(31, 2, 'The ability to simplify means to eliminate the unnecessary so that the necessary may speak.', 'Hans Hofmann'),
|
||
(32, 2, 'The more you are focused on time — past and future — the more you miss the Now, the most precious thing there is.', 'Eckhart Tolle'),
|
||
(33, 2, 'Your life requires your mindful presence in order to live it. Be here now.', 'Akiroq Brost'),
|
||
(34, 2, 'Yesterday is history. Tomorrow is a mystery. Today is a gift. That is why it is called the present.', 'Alice Morse Earle'),
|
||
(35, 2, 'You have succeeded in life when all you really want is only what you really need.', 'Vernon Howard'),
|
||
(36, 2, 'Out of clutter, find simplicity.', 'Albert Einstein'),
|
||
(37, 3, 'No habites en el pasado, no sueñes con el futuro, concéntrate en el momento presente.', 'Buddha'),
|
||
(38, 3, 'La única manera de vivir es aceptar cada minuto como un milagro irrepetible.', 'Tara Brach'),
|
||
(39, 3, 'Las cosas más simples son a menudo las más reales.', 'Richard Bach'),
|
||
(40, 3, 'Di siempre "sí" al momento presente. Di "sí" a la vida.', 'Eckhart Tolle'),
|
||
(41, 4, 'Ne t''attarde pas sur le passé, ne rêve pas de l''avenir, concentre-toi sur le moment présent.', 'Buddha'),
|
||
(42, 4, 'La seule façon de vivre est d''accepter chaque minute comme un miracle non répétable.', 'Tara Brach'),
|
||
(43, 4, 'Les choses les plus simples sont souvent les plus vraies.', 'Richard Bach'),
|
||
(44, 4, 'Dites toujours “oui” au moment présent. Dites “oui” à la vie.', 'Eckhart Tolle'),
|
||
(45, 5, 'Bleibe nicht in der Vergangenheit stecken und träume nicht von der Zukunft. Konzentriere dich auf das Jetzt.', 'Buddha'),
|
||
(46, 5, 'Die einzige Art, zu leben, besteht darin, jede Minute als unwiederbringliches Wunder anzusehen.', 'Tara Brach'),
|
||
(47, 5, 'Die einfachsten Dinge sind manchmal die echtesten', 'Richard Bach'),
|
||
(48, 5, 'Sage stets ‚ja‘ zum Jetzt.Sage ‚ja‘ zum Leben.', 'Eckhart Tolle');
|
||
|
||
|
||
INSERT OR REPLACE INTO quote_category_map (category_id, quote_id) VALUES
|
||
(1, 1),
|
||
(1, 19),
|
||
(1, 37),
|
||
(1, 41),
|
||
(1, 45),
|
||
(2, 2),
|
||
(2, 20),
|
||
(2, 38),
|
||
(2, 42),
|
||
(2, 46),
|
||
(3, 3),
|
||
(3, 21),
|
||
(3, 39),
|
||
(3, 43),
|
||
(3, 47),
|
||
(4, 4),
|
||
(4, 22),
|
||
(4, 40),
|
||
(4, 44),
|
||
(4, 48),
|
||
(5, 5),
|
||
(5, 23),
|
||
(6, 6),
|
||
(6, 24),
|
||
(1, 7),
|
||
(1, 25),
|
||
(2, 8),
|
||
(2, 26),
|
||
(3, 9),
|
||
(3, 27),
|
||
(4, 10),
|
||
(4, 28),
|
||
(5, 11),
|
||
(5, 29),
|
||
(6, 12),
|
||
(6, 30),
|
||
(1, 13),
|
||
(1, 31),
|
||
(2, 14),
|
||
(2, 32),
|
||
(3, 15),
|
||
(3, 33),
|
||
(4, 16),
|
||
(4, 34),
|
||
(5, 17),
|
||
(5, 35),
|
||
(6, 18),
|
||
(6, 36);
|