mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add support to mark a company founded or sold date as having the month or the day unknown. Fixes #16.
This commit is contained in:
@@ -449,6 +449,10 @@ namespace Marechai.Database.Migrations
|
||||
|
||||
b.Property<DateTime?>("Founded").HasColumnName("founded").HasColumnType("datetime");
|
||||
|
||||
b.Property<bool>("FoundedDayIsUnknown").HasColumnType("bit(1)");
|
||||
|
||||
b.Property<bool>("FoundedMonthIsUnknown").HasColumnType("bit(1)");
|
||||
|
||||
b.Property<string>("Name").IsRequired().ValueGeneratedOnAdd().HasColumnName("name").
|
||||
HasColumnType("varchar(128)").HasDefaultValueSql("''");
|
||||
|
||||
@@ -459,6 +463,10 @@ namespace Marechai.Database.Migrations
|
||||
|
||||
b.Property<DateTime?>("Sold").HasColumnName("sold").HasColumnType("datetime");
|
||||
|
||||
b.Property<bool>("SoldDayIsUnknown").HasColumnType("bit(1)");
|
||||
|
||||
b.Property<bool>("SoldMonthIsUnknown").HasColumnType("bit(1)");
|
||||
|
||||
b.Property<int?>("SoldToId").HasColumnName("sold_to").HasColumnType("int(11)");
|
||||
|
||||
b.Property<int>("Status").HasColumnName("status").HasColumnType("int(11)");
|
||||
|
||||
Reference in New Issue
Block a user