Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
fa1b286463
241 files changed
+31188
No files matched your search
@@ -0,0 +1,30 @@
|
||||
using FluentMigrator;
|
||||
|
||||
namespace WmsLite.Api.Database.Migrations;
|
||||
|
||||
[Migration(10, "Location: aisle_code for shelf batch")]
|
||||
public class LocationAddAisleCode0010 : Migration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
if (!Schema.Table("location").Exists())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Schema.Table("location").Column("aisle_code").Exists())
|
||||
{
|
||||
Alter.Table("location")
|
||||
.AddColumn("aisle_code").AsString(64).Nullable();
|
||||
}
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
if (Schema.Table("location").Exists()
|
||||
&& Schema.Table("location").Column("aisle_code").Exists())
|
||||
{
|
||||
Delete.Column("aisle_code").FromTable("location");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user