aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.sql
blob: 3d173f0858949a0669e0c1ecf937a6a8e9a62338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DROP TABLE IF EXISTS `accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `asset` varchar(255) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL,
  `balance` double DEFAULT NULL,
  `pending` double DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3329 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;