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
|
||||
);
|
||||
";
|
||||
//command.ExecuteNonQuery();
|
||||
command.ExecuteNonQuery();
|
||||
command.CommandText =
|
||||
@"
|
||||
CREATE TABLE IF NOT EXISTS SAVED_LOGINS (
|
||||
name STRING PRIMARY KEY NOT NULL,
|
||||
pass STRING NOT NULL,
|
||||
mail_username STRING NOT NULL,
|
||||
note STRING
|
||||
note STRING,
|
||||
owner STRING NOT NULL,
|
||||
FOREIGN KEY(owner) REFERENCES LOGINS(loginname)
|
||||
|
||||
|
||||
@ -19,6 +19,12 @@
|
||||
HorizontalAlignment="Left"
|
||||
Text="Username:" />
|
||||
<TextBox TextWrapping="Wrap" Watermark="Username" />
|
||||
<TextBlock
|
||||
FontSize="20"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="23"
|
||||
Text="Email:" />
|
||||
<TextBox TextWrapping="Wrap" Watermark="E-Mail" />
|
||||
<TextBlock
|
||||
FontSize="20"
|
||||
HorizontalAlignment="Left"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user