using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DysonNetwork.Insight.Migrations { /// public partial class AddBilling : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "model_name", table: "thinking_thoughts", type: "character varying(4096)", maxLength: 4096, nullable: true); migrationBuilder.AddColumn( name: "token_count", table: "thinking_thoughts", type: "bigint", nullable: false, defaultValue: 0L); migrationBuilder.AddColumn( name: "paid_token", table: "thinking_sequences", type: "bigint", nullable: false, defaultValue: 0L); migrationBuilder.AddColumn( name: "total_token", table: "thinking_sequences", type: "bigint", nullable: false, defaultValue: 0L); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "model_name", table: "thinking_thoughts"); migrationBuilder.DropColumn( name: "token_count", table: "thinking_thoughts"); migrationBuilder.DropColumn( name: "paid_token", table: "thinking_sequences"); migrationBuilder.DropColumn( name: "total_token", table: "thinking_sequences"); } } }