From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by gnuweeb.org (Postfix) with ESMTPSA id EF6F47E58A for ; Wed, 15 Jun 2022 10:06:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1655287605; bh=HJjXdAWoHleD6kLZBHnw8MLqpnfJ4NlmH06CXZLQbjI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=OwbC42F1yLJlXpfBHc48ZrnJRipceaKKABOtUAsMpE5sfAXryuxcuFYfNM7rVdAZP LLJanA4CYSWW9I4eufDbE9NZWSFGSmr7/4Taknqf3imF+QRva8L2OOFpqZnmI2s+/5 8MxixC1EP+YDxqO0zWkLjMigNaW9UFOWN+9r0yr0Xz/ACTbm4r+BqqhsPj6+LiFTO6 bZfweUaw/6BDiAZDcodhpf2Dfju2hRayBeVWChds91mhKBYbcABGWHRDdPMoAaoHA7 e/YRMllSIeEQ1t7+coKKiX8yZDTFEG+VM+poGegkHON2jX2ZHPIshYI3frCl2CN1LB e3s2C/Kb5xUug== Received: by mail-lj1-f169.google.com with SMTP id l20so5909639lji.0 for ; Wed, 15 Jun 2022 03:06:45 -0700 (PDT) X-Gm-Message-State: AJIora/dcTlJXyYopHx4ZU7pEMB7tjRC9XfDCFsaWRqfngjTnNN4QzUi L7OqshaNo4Oe8tb/8ZQ7Y9q2wdhZtyr1CnGwE9E= X-Google-Smtp-Source: AGRyM1t7I8UhWLmK1go7//oCYyHojoQFM+9QSEFWjZZqGd3NlOMxCpl4jdC1q/CKC4phFWDN+p0A2Zm5jmYlN/rgPeE= X-Received: by 2002:a2e:a783:0:b0:255:9c25:cd36 with SMTP id c3-20020a2ea783000000b002559c25cd36mr4811556ljf.209.1655287604145; Wed, 15 Jun 2022 03:06:44 -0700 (PDT) MIME-Version: 1.0 References: <1dc7ad7c-914a-001c-1d7c-fc8433e9b609@gnuweeb.org> <6cc95454-7a0e-6559-ed21-1e40f9ad19c8@gnuweeb.org> In-Reply-To: <6cc95454-7a0e-6559-ed21-1e40f9ad19c8@gnuweeb.org> From: Alviro Iskandar Setiawan Date: Wed, 15 Jun 2022 17:06:32 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC] GNU/Weeb Financial Transaction Record Design To: Ammar Faizi Cc: "GNU/Weeb Mailing List" Content-Type: text/plain; charset="UTF-8" List-Id: On Wed, Jun 15, 2022 at 5:03 PM Ammar Faizi wrote: > On 6/15/22 5:00 PM, Alviro Iskandar Setiawan wrote: > >> 2) How do we maintain a new field in the future if we ever add more? > > > > Maybe just make them be an empty string. Appending an empty string > > won't change the hash because it doesn't change anything. For example, > > we create a new field x, make it nullable, if it's NULL then when > > we're validating the old records that don't have this field just treat > > it as an empty string, it won't change the hash, so it's backward > > compatible. > > Not sure how will it look like. I am looking forward to the patchset then. Yeeeeeeh, just sit and wait for my patchset, you can comment later on :p tq -- Viro