change ip
This commit is contained in:
parent
b8bbd43b28
commit
9107ec00ef
@ -9,7 +9,7 @@
|
||||
<TextBlock Text="Введите логин"/>
|
||||
<TextBox Width="300" x:Name="LoginTextBox" ></TextBox>
|
||||
<TextBlock Text="Введите пароль"/>
|
||||
<TextBox Width="300" PasswordChar="*" x:Name="PasswordTextBox" ></TextBox>
|
||||
<TextBox Width="300" x:Name="PasswordTextBox" ></TextBox>
|
||||
<StackPanel Spacing="5" Orientation="Horizontal">
|
||||
<Button x:Name="RegisterClick" Click="RegisterClick_OnClick" Content="Зарегистрироваться"/>
|
||||
<Button x:Name="LoginClick" Click="LoginClick_OnClick" Content="Войти"/>
|
||||
|
@ -19,7 +19,7 @@ public partial class KidsAppDbContext : DbContext
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see https://go.microsoft.com/fwlink/?LinkId=723263.
|
||||
=> optionsBuilder.UseNpgsql("Host=localhost;Password=123;Database=kids_app_db;Port=5432;Username=postgres");
|
||||
=> optionsBuilder.UseNpgsql("Host=192.168.1.183;Password=123;Database=kids_app_db;Port=5432;Username=postgres");
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user