added email bracket in new entry and fixed creating the second database
This commit is contained in:
parent
6e4e17f428
commit
af780414ac
@ -27,14 +27,14 @@ public partial class SQLite
|
|||||||
loginemail STRING NOT NULL
|
loginemail STRING NOT NULL
|
||||||
);
|
);
|
||||||
";
|
";
|
||||||
//command.ExecuteNonQuery();
|
command.ExecuteNonQuery();
|
||||||
command.CommandText =
|
command.CommandText =
|
||||||
@"
|
@"
|
||||||
CREATE TABLE IF NOT EXISTS SAVED_LOGINS (
|
CREATE TABLE IF NOT EXISTS SAVED_LOGINS (
|
||||||
name STRING PRIMARY KEY NOT NULL,
|
name STRING PRIMARY KEY NOT NULL,
|
||||||
pass STRING NOT NULL,
|
pass STRING NOT NULL,
|
||||||
mail_username STRING NOT NULL,
|
mail_username STRING NOT NULL,
|
||||||
note STRING
|
note STRING,
|
||||||
owner STRING NOT NULL,
|
owner STRING NOT NULL,
|
||||||
FOREIGN KEY(owner) REFERENCES LOGINS(loginname)
|
FOREIGN KEY(owner) REFERENCES LOGINS(loginname)
|
||||||
|
|
||||||
|
|||||||
@ -19,6 +19,12 @@
|
|||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Text="Username:" />
|
Text="Username:" />
|
||||||
<TextBox TextWrapping="Wrap" Watermark="Username" />
|
<TextBox TextWrapping="Wrap" Watermark="Username" />
|
||||||
|
<TextBlock
|
||||||
|
FontSize="20"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
Margin="23"
|
||||||
|
Text="Email:" />
|
||||||
|
<TextBox TextWrapping="Wrap" Watermark="E-Mail" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
FontSize="20"
|
FontSize="20"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user