Commit graph

115 commits

Author SHA1 Message Date
Bradley M. Kuhn
6c71c75a2c This needs to be a prepared statement. 2015-12-06 17:14:11 -08:00
Bradley M. Kuhn
57411034af supporter_id does not belong here. 2015-12-06 17:13:33 -08:00
Bradley M. Kuhn
3f84079ee0 Correct proper set of fields. 2015-12-06 17:12:57 -08:00
Bradley M. Kuhn
9732457d7e Correct typeId. 2015-12-06 17:12:07 -08:00
Bradley M. Kuhn
21d555d0cc Fix request inserts. 2015-12-06 17:11:34 -08:00
Bradley M. Kuhn
9b3e1a70af Missing , 2015-12-06 17:07:57 -08:00
Bradley M. Kuhn
6c15d3973f Correct details on postal_address table.
Also, correct name of index on email.
2015-12-06 17:07:29 -08:00
Bradley M. Kuhn
89c1a9fff7 Remove incorrect ,'s in various places. 2015-12-06 17:06:22 -08:00
Bradley M. Kuhn
e48ae089dc Add DROP TABLEs and fix index. 2015-12-06 17:05:37 -08:00
Bradley M. Kuhn
203d810498 First pass at v0.2 of supporter database.
Redesign of database, mainly for three reasons:

   (a) we need to send renewal notices to Supporters, and need to keep a
       record of when we've sent them,

   (b) We need to keep better track of t-shirt requests,

   (c) We need to allow for different email addresses for contact other
       than the PayPal payer one.

Before doing this, I briefly looked again at CiviCRM.  While I can
complete this conversion and all my scripts in just a matter of a few
hours, setup of CiviCRM would take a minimum of a few hours just to
investigate its viability for us and whether I'd be able to maintain it.
So, we're doing custom, ad-hoc stuff still.

This commit has not been tested, it's a first pass that I'll adjust.
2015-12-06 17:04:02 -08:00
Bradley M. Kuhn
6c67503f00 Move license notice information to LICENSE.md
Make a pointer from COPYRIGHT.md to it.
2015-12-06 17:01:33 -08:00
Bradley M. Kuhn
da32a02c52 Add license notice to the copyright file. 2015-12-06 17:00:35 -08:00
Bradley M. Kuhn
fe87630af6 Add COPYRIGHT and LICENSE file for this package. 2015-12-06 16:58:32 -08:00
Free Software Foundation, Inc
9f371123fd Downloaded a copy of the Affero GPLv3.
URL of this file is: https://www.gnu.org/licenses/agpl-3.0.txt
2015-12-06 16:55:11 -08:00
Bradley M. Kuhn
9c70debfb1 First step to import of Supporter donations.
Ultimately, I decided I had little choice but to create a database of
supporters.  There is really no easy way to track all this properly with
ledger, since ledger is transaction based and this is data that spans
many transactions.

Indeed, even in the NPO Accounting project, we knew there would be
separate data stores for contacts, etc.  This is an ad-hoc start to
that, I guess.
2015-12-06 16:46:43 -08:00