mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Convert some constants to enums
This commit is contained in:
parent
06425d3dd6
commit
ee7c8343dd
52 changed files with 282 additions and 268 deletions
|
@ -2,7 +2,7 @@ CREATE TABLE `Payments` (
|
|||
`PaymentId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`UserId` int(10) unsigned DEFAULT NULL,
|
||||
`Created` datetime NOT NULL,
|
||||
`ChannelId` tinyint(4) unsigned NOT NULL,
|
||||
`Processor` enum('fractured_atlas') NOT NULL,
|
||||
`TransactionId` varchar(80) NOT NULL,
|
||||
`Amount` decimal(7,2) unsigned NOT NULL,
|
||||
`Fee` decimal(7,2) unsigned NOT NULL DEFAULT 0.00,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CREATE TABLE `PendingPayments` (
|
||||
`Created` datetime NOT NULL,
|
||||
`ChannelId` tinyint(4) unsigned NOT NULL,
|
||||
`Processor` enum('fractured_atlas') NOT NULL,
|
||||
`TransactionId` varchar(80) NOT NULL,
|
||||
`ProcessedOn` datetime DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue