phpnuxbill/system/install/phpmixbill.sql

614 lines
16 KiB
MySQL
Raw Normal View History

2022-09-08 17:32:12 +08:00
--
-- Database: `phpmixbill`
2022-09-07 15:50:02 +08:00
--
2022-09-08 17:32:12 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
2021-08-18 21:21:16 +08:00
--
2022-09-07 15:50:02 +08:00
2022-09-08 17:32:12 +08:00
-- Struktur dari tabel `tbl_appconfig`
--
CREATE TABLE
`tbl_appconfig` (
`id` int(11) NOT NULL,
`setting` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`value` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2022-09-07 15:50:02 +08:00
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_bandwidth`
--
CREATE TABLE
`tbl_bandwidth` (
`id` int(10) UNSIGNED NOT NULL,
`name_bw` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`rate_down` int(10) UNSIGNED NOT NULL,
`rate_down_unit` enum('Kbps', 'Mbps') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`rate_up` int(10) UNSIGNED NOT NULL,
`rate_up_unit` enum('Kbps', 'Mbps') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_customers`
--
CREATE TABLE
`tbl_customers` (
`id` int(10) NOT NULL,
`username` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`password` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`fullname` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`address` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`phonenumber` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0',
2022-09-08 17:32:12 +08:00
`email` varchar(128) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1',
2022-09-07 15:50:02 +08:00
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_login` datetime DEFAULT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_language`
--
CREATE TABLE
`tbl_language` (
`id` int(10) NOT NULL,
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`folder` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`author` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
-- --------------------------------------------------------
--
-- Struktur dari tabel `tbl_logs`
--
CREATE TABLE
`tbl_logs` (
`id` int(10) NOT NULL,
`date` datetime DEFAULT NULL,
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`userid` int(10) NOT NULL,
`ip` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_message`
--
CREATE TABLE
`tbl_message` (
`id` int(10) NOT NULL,
`from_user` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`to_user` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`title` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`status` enum('0', '1') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0',
`date` datetime NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_payment_gateway`
--
CREATE TABLE
`tbl_payment_gateway` (
`id` int(11) NOT NULL,
2022-09-08 17:32:12 +08:00
`username` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
`gateway` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'xendit | midtrans',
2022-09-07 15:50:02 +08:00
`gateway_trx_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
2022-09-08 17:32:12 +08:00
`plan_id` int(11) NOT NULL,
`plan_name` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
`routers_id` int(11) NOT NULL,
`routers` varchar(32) COLLATE utf8mb4_general_ci NOT NULL,
`price` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
2022-09-07 15:50:02 +08:00
`pg_url_payment` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
2022-09-08 17:32:12 +08:00
`payment_method` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`payment_channel` varchar(32) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`pg_request` text COLLATE utf8mb4_general_ci,
2022-09-07 15:50:02 +08:00
`pg_paid_response` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`expired_date` datetime DEFAULT NULL,
`created_date` datetime NOT NULL,
`paid_date` datetime DEFAULT NULL,
2022-09-08 17:32:12 +08:00
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1 unpaid 2 paid 3 failed 4 canceled'
2022-09-07 15:50:02 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_plans`
--
CREATE TABLE
`tbl_plans` (
`id` int(10) NOT NULL,
`name_plan` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`id_bw` int(10) NOT NULL,
`price` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`type` enum('Hotspot', 'PPPOE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`typebp` enum('Unlimited', 'Limited') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`limit_type` enum(
'Time_Limit',
'Data_Limit',
'Both_Limit'
) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`time_limit` int(10) UNSIGNED DEFAULT NULL,
`time_unit` enum('Mins', 'Hrs') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`data_limit` int(10) UNSIGNED DEFAULT NULL,
`data_unit` enum('MB', 'GB') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`validity` int(10) NOT NULL,
`validity_unit` enum('Mins', 'Hrs', 'Days', 'Months') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`shared_users` int(10) DEFAULT NULL,
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
2022-09-08 17:32:12 +08:00
`pool` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled\r\n'
2022-09-07 15:50:02 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_pool`
--
CREATE TABLE
`tbl_pool` (
`id` int(10) NOT NULL,
`pool_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`range_ip` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`routers` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_routers`
--
CREATE TABLE
`tbl_routers` (
`id` int(10) NOT NULL,
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`ip_address` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`password` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
2022-09-08 17:32:12 +08:00
`description` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`enabled` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 disabled'
2022-09-07 15:50:02 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_transactions`
--
CREATE TABLE
`tbl_transactions` (
`id` int(10) NOT NULL,
`invoice` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`plan_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`price` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`recharged_on` date NOT NULL,
`expiration` date NOT NULL,
`time` time NOT NULL,
`method` enum('voucher', 'admin') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`type` enum('Hotspot', 'PPPOE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_users`
--
CREATE TABLE
`tbl_users` (
`id` int(10) UNSIGNED NOT NULL,
`username` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`fullname` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`password` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`user_type` enum('Admin', 'Sales') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Active',
`last_login` datetime DEFAULT NULL,
`creationdate` datetime NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2021-08-18 21:21:16 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_user_recharges`
--
CREATE TABLE
`tbl_user_recharges` (
`id` int(10) NOT NULL,
`customer_id` int(10) NOT NULL,
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`plan_id` int(10) NOT NULL,
`namebp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`recharged_on` date NOT NULL,
`expiration` date NOT NULL,
`time` time NOT NULL,
`status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`method` enum('voucher', 'admin') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`type` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
2017-03-11 03:51:06 +08:00
-- --------------------------------------------------------
2022-09-07 15:50:02 +08:00
--
-- Struktur dari tabel `tbl_voucher`
--
CREATE TABLE
`tbl_voucher` (
`id` int(10) NOT NULL,
`type` enum('Hotspot', 'PPPOE') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`routers` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`id_plan` int(10) NOT NULL,
`code` varchar(55) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`user` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`status` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `tbl_appconfig`
--
ALTER TABLE `tbl_appconfig` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_bandwidth`
--
ALTER TABLE `tbl_bandwidth` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_customers`
--
ALTER TABLE `tbl_customers` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_language`
--
ALTER TABLE `tbl_language` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_logs`
--
ALTER TABLE `tbl_logs` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_message`
--
ALTER TABLE `tbl_message` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_payment_gateway`
--
ALTER TABLE `tbl_payment_gateway` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_plans`
--
ALTER TABLE `tbl_plans` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_pool`
--
ALTER TABLE `tbl_pool` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_routers`
--
ALTER TABLE `tbl_routers` ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `tbl_transactions`
--
ALTER TABLE `tbl_transactions` ADD PRIMARY KEY (`id`);
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- Indeks untuk tabel `tbl_users`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
ALTER TABLE `tbl_users` ADD PRIMARY KEY (`id`);
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- Indeks untuk tabel `tbl_user_recharges`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
ALTER TABLE `tbl_user_recharges` ADD PRIMARY KEY (`id`);
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- Indeks untuk tabel `tbl_voucher`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
ALTER TABLE `tbl_voucher` ADD PRIMARY KEY (`id`);
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel yang dibuang
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_appconfig`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_appconfig` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_bandwidth`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_bandwidth` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_customers`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_customers` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_language`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_language` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_logs`
--
ALTER TABLE `tbl_logs` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `tbl_message`
--
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_message` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `tbl_payment_gateway`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_payment_gateway` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_plans`
--
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_plans` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `tbl_pool`
--
ALTER TABLE `tbl_pool` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `tbl_routers`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_routers` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_transactions`
--
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_transactions` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `tbl_users`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
-- AUTO_INCREMENT untuk tabel `tbl_user_recharges`
--
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_user_recharges` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT untuk tabel `tbl_voucher`
2022-04-23 01:55:42 +08:00
--
2022-09-07 15:50:02 +08:00
2022-04-23 01:55:42 +08:00
ALTER TABLE
2022-09-07 15:50:02 +08:00
`tbl_voucher` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
2022-09-08 17:32:12 +08:00
COMMIT;
--
-- Dumping data untuk tabel `tbl_appconfig`
--
INSERT INTO
`tbl_appconfig` (`id`, `setting`, `value`)
VALUES (1, 'CompanyName', 'PHPMixBill'), (2, 'currency_code', 'Rp.'), (3, 'language', 'indonesia'), (4, 'show-logo', '1'), (5, 'nstyle', 'blue'), (6, 'timezone', 'Asia/Jakarta'), (7, 'dec_point', ','), (8, 'thousands_sep', '.'), (9, 'rtl', '0'), (10, 'address', ''), (11, 'phone', ''), (12, 'date_format', 'd M Y'), (13, 'note', 'Thank you...');
--
-- Dumping data untuk tabel `tbl_users`
--
INSERT INTO
`tbl_users` (
`id`,
`username`,
`fullname`,
`password`,
`user_type`,
`status`,
`last_login`,
`creationdate`
)
VALUES (
1,
'admin',
'Administrator',
'd033e22ae348aeb5660fc2140aec35850c4da997',
'Admin',
'Active',
'2022-09-06 16:09:50',
'2014-06-23 01:43:07'
);
--
-- Dumping data untuk tabel `tbl_language`
--
INSERT INTO
`tbl_language` (
`id`,
`name`,
`folder`,
`author`
)
VALUES (
1,
'Indonesia',
'indonesia',
'Ismail Marzuqi'
), (
2,
'English',
'english',
'Ismail Marzuqi'
), (
4,
'Türkçe',
'turkish',
'Goktug Bogac Ogel'
);