-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_braintree_table_db.sql
61 lines (51 loc) · 1.39 KB
/
example_braintree_table_db.sql
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
-------- IN TEORIA UNA TABELLA PREPARATA PER SALVARE --------
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jan 23, 2019 at 02:36 PM
-- Server version: 5.7.23
-- PHP Version: 7.1.20
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `data_app`
--
-- --------------------------------------------------------
--
-- Table structure for table `braintree_subscriptions`
--
CREATE TABLE `braintree_subscriptions` (
`cod_id` int(11) NOT NULL,
`planid` varchar(30) NOT NULL,
`subId` varchar(80) NOT NULL,
`statusAbo` varchar(25) NOT NULL,
`trialPeriod` tinyint(1) NOT NULL,
`createAt` datetime NOT NULL,
`nextBillingDate` datetime NOT NULL,
`price` int(11) NOT NULL,
`currencyIsoCode` varchar(8) NOT NULL,
`statusPay` varchar(50) NOT NULL,
`lastUpdate` datetime NOT NULL,
`statusNotification` varchar(100) NOT NULL,
`user_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `braintree_subscriptions`
--
ALTER TABLE `braintree_subscriptions`
ADD PRIMARY KEY (`cod_id`),
ADD KEY `subId` (`subId`),
ADD KEY `user_id` (`user_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `braintree_subscriptions`
--
ALTER TABLE `braintree_subscriptions`
MODIFY `cod_id` int(11) NOT NULL AUTO_INCREMENT;