Files
aitsc/app.db

41 lines
44 KiB
Plaintext
Raw Normal View History

2025-02-23 09:07:52 +08:00
SQLite format 3@  .v<> <0F>
s <0F>T <0A> <0A> S e 
<EFBFBD>
sg
9<01>indexix_feedback_created_atfeedback CREATE INDEX ix_feedback_created_at ON feedback (created_at)<29>& <01>tablefeedbackfeedback
CREATE TABLE feedback (
id INTEGER NOT NULL,
rating INTEGER,
comment VARCHAR(500),
created_at DATETIME,
user_id INTEGER,
prompt_id INTEGER,
PRIMARY KEY (id),
FOREIGN KEY(prompt_id) REFERENCES prompt (id),
FOREIGN KEY(user_id) REFERENCES user (id)
)^5}indexix_prompt_created_atprompt CREATE INDEX ix_prompt_created_at ON prompt (created_at)<29>k<01>1tablepromptpromptCREATE TABLE prompt (
id INTEGER NOT NULL,
input_text VARCHAR(500),
generated_text VARCHAR(1000),
created_at DATETIME,
user_id INTEGER,
PRIMARY KEY (id),
FOREIGN KEY(user_id) REFERENCES user (id)
)W-{indexix_user_usernameuserCREATE UNIQUE INDEX ix_user_username ON user (username)N'oindexix_user_emailuserCREATE UNIQUE INDEX ix_user_email ON user (email)V1uindexix_user_created_atuserCREATE INDEX ix_user_created_at ON user (created_at)<29>6<01>OtableuseruserCREATE TABLE user (
id INTEGER NOT NULL,
username VARCHAR(64),
email VARCHAR(120),
password_hash VARCHAR(128),
created_at DATETIME,
PRIMARY KEY (id)
)<29>)++<01> tablealembic_versionalembic_versionCREATE TABLE alembic_version (
version_num VARCHAR(32) NOT NULL,
CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num)
)=Q+indexsqlite_autoindex_alembic_version_1alembic_version <0F><0F>
<0F><0F>% 301177e4547e



<0F><0F><0F>A2025-01-25 01:54:48.391775A 2025-01-25 01:52:59.006806