aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-07-09 15:00:47 -0700
committerAdam Soltys <[email protected]>2021-07-09 15:00:47 -0700
commit7f47a77be6111c9ad45d18c2abffcbc18228994c (patch)
tree62b101a68777d4ac15441fcbae0f1639349c5565
parent3c51ac2293da684037eff2cedf25f88d70f2aa4b (diff)
downloadcoinos-server-7f47a77be6111c9ad45d18c2abffcbc18228994c.tar.gz
coinos-server-7f47a77be6111c9ad45d18c2abffcbc18228994c.zip
add available to referrals status enum
-rw-r--r--db/schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.sql b/db/schema.sql
index 24add256..3b3519e4 100644
--- a/db/schema.sql
+++ b/db/schema.sql
@@ -250,7 +250,7 @@ CREATE TABLE `referrals` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(255) DEFAULT NULL,
`expiry` date DEFAULT NULL,
- `status` enum('pending','active','expired','cancelled') DEFAULT NULL,
+ `status` enum('available', 'pending','active','expired','cancelled') DEFAULT NULL,
`sponsor_id` int(11) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),