Rustelo/features/shared/seeds/002_sample_content.sql
Jesús Pérez 7cab57b645
Some checks failed
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Performance Benchmarks (push) Has been cancelled
CI/CD Pipeline / Cleanup (push) Has been cancelled
chore: update layout and files
2026-02-08 20:18:46 +00:00

35 lines
974 B
SQL

-- Sample content for development
-- This file works for both PostgreSQL and SQLite
INSERT INTO content (title, slug, content_type, body, is_published, published_at) VALUES
('Welcome to Rustelo', 'welcome', 'markdown', '# Welcome to Rustelo
This is a sample content page created by the seed data.
## Features
- Fast and secure
- Built with Rust
- Modern web framework
- Easy to use
Enjoy building with Rustelo!', true, CURRENT_TIMESTAMP),
('About Us', 'about', 'markdown', '# About Us
This is the about page for your Rustelo application.
You can edit this content through the admin interface or by modifying the seed files.', true, CURRENT_TIMESTAMP),
('Getting Started', 'getting-started', 'markdown', '# Getting Started
Here are some tips to get you started with your new Rustelo application:
1. Check out the admin interface
2. Create your first content
3. Customize the design
4. Deploy to production
Good luck!', false, NULL)
ON CONFLICT (slug) DO NOTHING;