Skip to content

Commit bf116b7

Browse files
committed
add blog post
1 parent d2911d5 commit bf116b7

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

examples/official-site/blog.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ SELECT title,
2525
ELSE
2626
'?post=' || title
2727
END AS link
28-
FROM blog_posts;
28+
FROM blog_posts
29+
ORDER BY created_at DESC;

examples/official-site/sqlpage/migrations/12_blog.sql

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,13 @@ So, next time you''re torn between No-Code''s enchantment and Low-Code''s embrac
4545
4646
Give your app the love it deserves – the SQLPage kind of love.💕
4747
'
48-
);
48+
);
49+
50+
INSERT INTO blog_posts (title, description, icon, created_at, external_url)
51+
VALUES (
52+
'Repeating yourself thrice won''t make you a 3X developer',
53+
'A dive into the traditional 3-tier architecture and the DRY principle, and how tools like SQLPage helps you avoid repeating yourself.',
54+
'box-multiple-3',
55+
'2023-08-01',
56+
'https://yrashk.medium.com/repeating-yourself-thrice-doesnt-turn-you-into-a-3x-developer-a778495229c0'
57+
);

0 commit comments

Comments
 (0)