Skip to content

New paste table in cleezy#70

Open
defpat wants to merge 1 commit into
SCE-Development:devfrom
defpat:paste-table
Open

New paste table in cleezy#70
defpat wants to merge 1 commit into
SCE-Development:devfrom
defpat:paste-table

Conversation

@defpat

@defpat defpat commented Jun 26, 2026

Copy link
Copy Markdown

Added new paste table in sqlite_helper.py

Comment thread modules/sqlite_helpers.py
CREATE TABLE IF NOT EXISTS pastes (
paste_id TEXT PRIMARY KEY,
title TEXT,
created_at DATETIME DEFAULT NOT NULL,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we default it to today's date

Comment thread modules/sqlite_helpers.py
paste_id TEXT PRIMARY KEY,
title TEXT,
created_at DATETIME DEFAULT NOT NULL,
expires_at DATETIME DEFAULT NULL);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets also add a deleted_at datetime field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants