mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement permanent storage for profile history
This commit is contained in:
parent
7803aa1c44
commit
a6107bf1bb
8 changed files with 310 additions and 73 deletions
|
|
@ -63,7 +63,8 @@ pub fn init(tx: &Transaction) -> Result<usize> {
|
|||
`request` TEXT NOT NULL,
|
||||
`title` TEXT NULL,
|
||||
|
||||
FOREIGN KEY (`profile_id`) REFERENCES `profile` (`id`)
|
||||
FOREIGN KEY (`profile_id`) REFERENCES `profile` (`id`),
|
||||
UNIQUE (`profile_id`, `request`)
|
||||
)",
|
||||
[],
|
||||
)?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue