-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetaexchange.sql
More file actions
96 lines (76 loc) · 2.77 KB
/
metaexchange.sql
File metadata and controls
96 lines (76 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
-- phpMyAdmin SQL Dump
-- version 3.4.9
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 18, 2015 at 08:43 PM
-- Server version: 5.1.61
-- PHP Version: 5.3.3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `metaexchange`
--
-- --------------------------------------------------------
--
-- Table structure for table `exceptions`
--
CREATE TABLE IF NOT EXISTS `exceptions` (
`uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`txid` varchar(64) NOT NULL,
`message` varchar(255) NOT NULL,
`date` datetime NOT NULL,
`type` enum('bitcoinDeposit','bitsharesDeposit','bitcoinRefund','bitsharesRefund','none') NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=372 ;
-- --------------------------------------------------------
--
-- Table structure for table `general_exceptions`
--
CREATE TABLE IF NOT EXISTS `general_exceptions` (
`hash` int(10) unsigned NOT NULL,
`message` text COLLATE utf8_unicode_ci NOT NULL,
`date` datetime NOT NULL,
UNIQUE KEY `hash` (`hash`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `ignored`
--
CREATE TABLE IF NOT EXISTS `ignored` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`txid` varchar(64) NOT NULL,
`notes` varchar(255) NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
-- --------------------------------------------------------
--
-- Table structure for table `stats`
--
CREATE TABLE IF NOT EXISTS `stats` (
`last_bitshares_block` int(10) unsigned NOT NULL DEFAULT '0',
`last_bitcoin_block` varchar(64) DEFAULT NULL,
`uid` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `transactions`
--
CREATE TABLE IF NOT EXISTS `transactions` (
`received_txid` varchar(64) NOT NULL,
`sent_txid` varchar(64) DEFAULT NULL,
`asset` varchar(8) NOT NULL,
`amount` decimal(18,8) NOT NULL DEFAULT '0.00000000',
`date` datetime NOT NULL,
`type` enum('bitcoinDeposit','bitsharesDeposit','bitcoinRefund','bitsharesRefund','none') NOT NULL,
`notes` varchar(64) DEFAULT NULL,
PRIMARY KEY (`received_txid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;