Skip to content
Snippets Groups Projects
Commit 6c770987 authored by HGEpro's avatar HGEpro
Browse files

fix bug in windows

parent 300d818b
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ impl DBManager {
conn.execute("CREATE TABLE IF NOT EXISTS Subjects (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL)", [])
name TEXT UNIQUE NOT NULL)", [])
.unwrap_or_else(|_| stop_app("Error creating table Subjects"));
conn.execute("CREATE TABLE IF NOT EXISTS Tasks (
......
<script lang="js">
import { invoke } from "@tauri-apps/api";
import { fade, fly, slide, scale } from "svelte/transition";
import { onMount } from 'svelte';
import locales from "./locales.json";
import { ScreenLock } from "./screenlock.js";
import { ConfigManager, defaultConfig } from "./configmanager.js";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment