Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc-beu-v2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
00caef6d
authored
2019-01-15 17:46:37 +0530
by
prami
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Sql script for output report
1 parent
817eb196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
140 additions
and
0 deletions
custom/db/output_products.sql
custom/db/output_report.sql
custom/db/output_products.sql
0 → 100644
View file @
00caef6
-- phpMyAdmin SQL Dump
-- version 4.5.3.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 15, 2019 at 12:13 PM
-- Server version: 10.0.28-MariaDB
-- PHP Version: 5.6.29
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 utf8mb4 */
;
--
-- Database: `flexydial_hdfc_vrm`
--
-- --------------------------------------------------------
--
-- Table structure for table `output_products`
--
DROP
TABLE
IF
EXISTS
`output_products`
;
CREATE
TABLE
`output_products`
(
`id`
bigint
(
11
)
NOT
NULL
,
`Name`
varchar
(
50
)
NOT
NULL
,
`Status`
int
(
1
)
NOT
NULL
,
`created_at`
datetime
NOT
NULL
,
`updated_at`
datetime
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `output_products`
--
ALTER
TABLE
`output_products`
ADD
PRIMARY
KEY
(
`id`
);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `output_products`
--
ALTER
TABLE
`output_products`
MODIFY
`id`
bigint
(
11
)
NOT
NULL
AUTO_INCREMENT
;
/*!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 */
;
custom/db/output_report.sql
0 → 100644
View file @
00caef6
-- phpMyAdmin SQL Dump
-- version 4.5.3.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 15, 2019 at 12:14 PM
-- Server version: 10.0.28-MariaDB
-- PHP Version: 5.6.29
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 utf8mb4 */
;
--
-- Database: `flexydial_hdfc_vrm`
--
-- --------------------------------------------------------
--
-- Table structure for table `output_report`
--
DROP
TABLE
IF
EXISTS
`output_report`
;
CREATE
TABLE
`output_report`
(
`id`
bigint
(
20
)
NOT
NULL
,
`user_id`
varchar
(
20
)
NOT
NULL
,
`user_name`
varchar
(
200
)
NOT
NULL
,
`date`
date
NOT
NULL
,
`call_attempts`
int
(
11
)
NOT
NULL
,
`call_contacts`
int
(
11
)
NOT
NULL
,
`call_unique_contacts`
int
(
11
)
NOT
NULL
,
`income`
int
(
11
)
NOT
NULL
,
`product_id`
bigint
(
11
)
NOT
NULL
,
`product_name`
text
NOT
NULL
,
`lead_generated`
int
(
11
)
NOT
NULL
,
`lead_generated_amount`
decimal
(
13
,
2
)
NOT
NULL
,
`lead_closed`
int
(
11
)
NOT
NULL
,
`lead_closed_amount`
decimal
(
13
,
2
)
NOT
NULL
,
`created_at`
datetime
NOT
NULL
,
`updated_at`
datetime
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `output_report`
--
ALTER
TABLE
`output_report`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`fk_product_id`
(
`product_id`
);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `output_report`
--
ALTER
TABLE
`output_report`
MODIFY
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `output_report`
--
ALTER
TABLE
`output_report`
ADD
CONSTRAINT
`fk_product_id`
FOREIGN
KEY
(
`product_id`
)
REFERENCES
`output_products`
(
`id`
);
/*!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 */
;
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment