[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
software bumsil
/
APLIKASI SIMAKU
/
[
Home
]
File: simak7_aset_unb (1).sql
-- phpMyAdmin SQL Dump -- version 5.2.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Jul 31, 2024 at 09:29 AM -- Server version: 5.7.23-23 -- PHP Version: 8.1.29 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; 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: `simak7_aset_unb` -- -- -------------------------------------------------------- -- -- Table structure for table `tbl_building` -- CREATE TABLE `tbl_building` ( `id` int(11) NOT NULL, `building_name` varchar(100) NOT NULL, `building_code` varchar(10) NOT NULL, `location` varchar(100) DEFAULT NULL, `notes` text, `building_status` bit(2) NOT NULL, `tgl` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tbl_building` -- INSERT INTO `tbl_building` (`id`, `building_name`, `building_code`, `location`, `notes`, `building_status`, `tgl`) VALUES (4, 'Gedung Pattimura', 'A1', 'umy', 'Gedung Utama', b'01', '2024-07-26 16:06:53'), (5, 'Gedung Sudirman', 'B1', 'umy', 'Gedung Administrasi', b'01', '2024-07-26 16:07:21'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_damage` -- CREATE TABLE `tbl_damage` ( `id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `damage_name` varchar(100) DEFAULT NULL, `demage_status` tinyint(4) NOT NULL, `demage_note` text ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tbl_damage` -- INSERT INTO `tbl_damage` (`id`, `item_id`, `damage_name`, `demage_status`, `demage_note`) VALUES (1, 0, 'Kebersihan', 1, ''), (2, 16, 'Bocor', 1, 'ujicoba2'), (4, 34, 'Lain-lain BU', 1, ''); -- -------------------------------------------------------- -- -- Table structure for table `tbl_detail_complaint` -- CREATE TABLE `tbl_detail_complaint` ( `id` int(11) NOT NULL, `complaint_id` int(11) DEFAULT NULL, `demage_id` int(11) NOT NULL, `room_id` int(11) NOT NULL, `qty` int(11) NOT NULL DEFAULT '1', `detail_file` varchar(100) DEFAULT NULL, `note` text, `status` tinyint(4) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `tbl_inventaris` -- CREATE TABLE `tbl_inventaris` ( `id` int(11) NOT NULL, `aset_code` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `pengadaan_id` int(11) NOT NULL, `item_id` int(11) NOT NULL, `room_id` int(11) NOT NULL, `price` int(11) NOT NULL, `inventaris_status` enum('0','1','2','3') COLLATE utf8_unicode_ci NOT NULL DEFAULT '1', `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `created_by` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `updated_by` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `updated_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tbl_items` -- CREATE TABLE `tbl_items` ( `id` int(11) NOT NULL, `kategori_id` int(11) NOT NULL COMMENT 'tbl_kategori_item', `item_name` varchar(100) NOT NULL, `item_note` text, `item_status` tinyint(4) NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP, `created_by` varchar(100) NOT NULL, `updated_by` varchar(100) NOT NULL, `item_code` varchar(100) NOT NULL, `umur_aset` int(11) NOT NULL COMMENT 'depresiasi' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tbl_items` -- INSERT INTO `tbl_items` (`id`, `kategori_id`, `item_name`, `item_note`, `item_status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `item_code`, `umur_aset`) VALUES (37, 2, 'Mouse', '', 1, '2024-06-01 00:47:04', '2024-06-01 00:52:32', 'administrator', 'administrator', 'AST004', 5), (38, 6, 'Mobil Roda 4', 'station wagon, jeep, sedan, MPV, dll', 1, '2024-06-01 14:54:41', '2024-06-19 20:11:02', 'administrator', 'administrator', 'AST002', 20), (39, 6, 'Mobil Roda 6', 'truk, bus', 1, '2024-06-01 17:20:57', '2024-06-19 20:11:46', 'administrator', 'administrator', 'AST003', 30), (40, 6, 'Motor Roda 2', '', 1, '2024-06-01 17:24:26', '2024-06-19 20:12:45', 'administrator', 'administrator', 'AST004', 10), (41, 7, 'BANGUNAN KANTOR', 'MANTAP', 1, '2024-06-14 06:24:14', '0000-00-00 00:00:00', 'administrator', '', 'AST005', 40), (42, 8, 'Bangunan Khusus Baru', 'dalam tahun', 1, '2024-06-16 15:17:59', '0000-00-00 00:00:00', 'administrator', '', 'AST006', 40), (43, 6, 'Motor Roda 3', '', 1, '2024-06-19 20:13:25', '0000-00-00 00:00:00', 'administrator', '', 'AST007', 10), (44, 9, 'Kursi ', 'Kursi kuliah ', 1, '2024-06-20 09:46:52', '0000-00-00 00:00:00', 'unb', '', 'AST008', 3), (45, 9, 'Meja Kuliah ', 'Olimpid', 1, '2024-06-20 09:48:30', '0000-00-00 00:00:00', 'unb', '', 'AST009', 3), (46, 2, 'Komputer PC', '', 1, '2024-07-12 18:58:15', '0000-00-00 00:00:00', 'unb', '', 'AST0010', 5), (47, 2, 'Laptop', '', 1, '2024-07-12 19:00:23', '0000-00-00 00:00:00', 'unb', '', 'AST0011', 4); -- -------------------------------------------------------- -- -- Table structure for table `tbl_kategori_aset` -- CREATE TABLE `tbl_kategori_aset` ( `kategori_id` int(11) NOT NULL, `kategori_name` varchar(200) COLLATE utf8_unicode_ci NOT NULL, `kategori_desc` text COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `tbl_kategori_aset` -- INSERT INTO `tbl_kategori_aset` (`kategori_id`, `kategori_name`, `kategori_desc`) VALUES (1, 'Tanah', ''), (2, 'Peralatan Kantor', ''), (6, 'Kendaraan', ''), (7, 'Bangunan', ''), (8, 'Bangunan Khusus', ''), (9, 'Mebeleir ', ''); -- -------------------------------------------------------- -- -- Table structure for table `tbl_kat_keluhan` -- CREATE TABLE `tbl_kat_keluhan` ( `id` int(11) NOT NULL, `kategori` varchar(123) DEFAULT NULL, `nama` varchar(123) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `tbl_kat_keluhan` -- INSERT INTO `tbl_kat_keluhan` (`id`, `kategori`, `nama`) VALUES (1, 'aset.jpg', 'Biro Aset'), (2, 'aset.jpg', 'Biro Umum'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_list_complain` -- CREATE TABLE `tbl_list_complain` ( `id` int(1) NOT NULL, `id_t` int(11) NOT NULL, `id_k` int(11) NOT NULL, `kode_room` varchar(20) NOT NULL, `id_tiket` varchar(123) NOT NULL, `id_user` int(11) NOT NULL, `pioritas` int(11) NOT NULL, `star` int(11) NOT NULL, `kategori` varchar(123) DEFAULT NULL, `nama` varchar(1231) DEFAULT NULL, `jabatan` varchar(1232) NOT NULL, `unit` varchar(123) NOT NULL, `no` varchar(123) NOT NULL, `email` varchar(123) NOT NULL, `judul` text NOT NULL, `complain` text NOT NULL, `file` varchar(123) DEFAULT NULL, `status` int(11) NOT NULL COMMENT '1=terkirim, 2=dibaca, 3=proses, 4=selesai', `p_jawab` varchar(123) DEFAULT NULL, `tgl` datetime NOT NULL, `date` int(11) NOT NULL, `bln` int(11) NOT NULL, `thn` int(11) NOT NULL, `tgl_selesai` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `tbl_pengadaan` -- CREATE TABLE `tbl_pengadaan` ( `id` int(11) NOT NULL, `no_spmu` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `coa` varchar(30) COLLATE utf8_unicode_ci NOT NULL, `uraian` varchar(300) COLLATE utf8_unicode_ci NOT NULL, `nama_coa` varchar(300) COLLATE utf8_unicode_ci NOT NULL, `price` int(11) NOT NULL, `qty` int(11) NOT NULL, `tgl_spmu` date NOT NULL, `is_posting` tinyint(1) NOT NULL, `pengadaan_note` text COLLATE utf8_unicode_ci NOT NULL, `idrinci` int(11) NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `created_by` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `updated_by` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `updated_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tbl_penyusutan` -- CREATE TABLE `tbl_penyusutan` ( `id` int(11) NOT NULL, `inventaris_id` int(11) NOT NULL, `first_nominal` int(11) NOT NULL COMMENT 'nominal awal', `nominal` int(11) NOT NULL, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `created_by` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `updated_by` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `updated_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `tbl_proses_keluhan` -- CREATE TABLE `tbl_proses_keluhan` ( `id` int(11) NOT NULL, `kode` int(11) NOT NULL, `ket` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `tbl_proses_keluhan` -- INSERT INTO `tbl_proses_keluhan` (`id`, `kode`, `ket`) VALUES (1, 1, 'Observasi'), (2, 2, 'Tindakan Awal'), (3, 3, 'Pengajuan Anggaran'), (4, 4, 'Proses Pengadaan'), (5, 5, 'Tindakan Penyelesaian'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_rooms` -- CREATE TABLE `tbl_rooms` ( `id` int(11) NOT NULL, `building_id` int(11) NOT NULL, `floor` int(11) NOT NULL, `room` varchar(100) NOT NULL, `staircase` varchar(100) DEFAULT NULL, `room_code` varchar(10) NOT NULL, `room_note` text, `room_status` tinyint(1) NOT NULL, `tgl` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `tbl_rooms` -- INSERT INTO `tbl_rooms` (`id`, `building_id`, `floor`, `room`, `staircase`, `room_code`, `room_note`, `room_status`, `tgl`) VALUES (1, 0, 0, 'Belum diset', 'Belum diset', 'kosong', 'Belum diset', 1, '2022-01-01 00:00:00'), (6, 1, 1, 'puskom', '5 ke 6', 'A23423', 'e', 1, '2022-01-06 00:00:00'), (18, 1, 0, 'Basement', 'Dasar ke 1', 'A.2.11', 's', 1, '2022-01-01 00:00:00'), (19, 0, 1, '1', NULL, 'E1', '', 1, '2024-06-16 15:22:55'), (20, 2, 1, 'Garasi ', NULL, 'B.1', 'Garasi Mobil ', 1, '2024-06-20 09:51:24'), (21, 2, 1, '1.1', NULL, 'B.2', 'Ruang Kuliah ', 1, '2024-06-20 09:53:41'), (22, 4, 1, 'Ruang Rektor', NULL, 'A1.1', 'Ruang Kerja Rektor', 1, '2024-07-26 16:08:06'), (23, 5, 1, 'Ruang Biro Keuangan', NULL, 'B1.2', 'Ruang Layanan Biro Keuangan', 1, '2024-07-26 16:08:44'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_sub_keluhan` -- CREATE TABLE `tbl_sub_keluhan` ( `id` int(1) NOT NULL, `id_k` int(11) NOT NULL, `nama_sub` varchar(123) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `tbl_sub_keluhan` -- INSERT INTO `tbl_sub_keluhan` (`id`, `id_k`, `nama_sub`) VALUES (1, 0, NULL), (2, 1, 'Penggudangan Aset'), (4, 2, 'Kebersihan'), (4022, 1, 'Aset // Penggudangan Aset'), (4023, 1, 'Arsitektur'), (4025, 1, 'w'), (4026, 1, 'w'); -- -------------------------------------------------------- -- -- Table structure for table `tbl_tanggapan_komplain` -- CREATE TABLE `tbl_tanggapan_komplain` ( `id` int(11) NOT NULL, `id_com` int(11) NOT NULL COMMENT 'id-tbl_list_complain', `id_user` int(11) NOT NULL, `tanggapan` text NOT NULL, `file` varchar(123) NOT NULL, `progres` int(11) NOT NULL, `p_jawab` varchar(123) NOT NULL, `tgl_kom` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `ueu_tbl_info` -- CREATE TABLE `ueu_tbl_info` ( `id` int(11) NOT NULL, `namapt` varchar(200) NOT NULL, `instansi_name` varchar(200) NOT NULL, `alamat` text NOT NULL, `logo` varchar(30) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `ueu_tbl_info` -- INSERT INTO `ueu_tbl_info` (`id`, `namapt`, `instansi_name`, `alamat`, `logo`) VALUES (1, 'SIM ASET UNB', '', 'Yogyakarta', 'logo'); -- -------------------------------------------------------- -- -- Table structure for table `ueu_tbl_user` -- CREATE TABLE `ueu_tbl_user` ( `idlog` int(2) NOT NULL, `id_k` int(11) NOT NULL, `nama` varchar(1234) NOT NULL, `username` varchar(32) CHARACTER SET utf8 NOT NULL, `password` varchar(32) CHARACTER SET utf8 NOT NULL, `unit` varchar(123) NOT NULL, `jabatan` varchar(132) DEFAULT NULL, `no` varchar(123) DEFAULT NULL, `wilayah` varchar(123) NOT NULL, `status` varchar(123) NOT NULL COMMENT 'online', `ipaddres` varchar(123) NOT NULL, `block` varchar(12) NOT NULL COMMENT '1=block', `wewenang` varchar(12) NOT NULL, `tanggal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `ueu_tbl_user` -- INSERT INTO `ueu_tbl_user` (`idlog`, `id_k`, `nama`, `username`, `password`, `unit`, `jabatan`, `no`, `wilayah`, `status`, `ipaddres`, `block`, `wewenang`, `tanggal`) VALUES (3, 1, 'Biro Aset', 'adminaset', 'adminaset', 'aset', '', '999', 'aset', '', '', '1', 'unit', '0000-00-00 00:00:00'), (7, 0, 'Administrator', 'administrator', 'administrator', '', '', '', 'bsi', '', '', '1', 'admin', '0000-00-00 00:00:00'), (977, 1, 'ilhamroy', 'ilhamroy', 'ilhamroy', 'staff', 'a', '008239', '', '', '', '1', 'user', '0000-00-00 00:00:00'), (1008, 0, 'Universitas Nusantara Berkemajuan', 'unb', 'aset', 'aset', 'admin', '08898989', '', '', '', '1', 'admin', '0000-00-00 00:00:00'), (1040, 1, 'operator', 'operator', 'operator', 'aset', 'aset', '0980909', '', '', '', '1', 'operator', '0000-00-00 00:00:00'); -- -- Indexes for dumped tables -- -- -- Indexes for table `tbl_building` -- ALTER TABLE `tbl_building` ADD PRIMARY KEY (`id`); -- -- Indexes for table `tbl_damage` -- ALTER TABLE `tbl_damage` ADD PRIMARY KEY (`id`), ADD KEY `item_demage` (`item_id`); -- -- Indexes for table `tbl_detail_complaint` -- ALTER TABLE `tbl_detail_complaint` ADD PRIMARY KEY (`id`), ADD KEY `complaint` (`complaint_id`), ADD KEY `complaint_demage` (`demage_id`); -- -- Indexes for table `tbl_inventaris` -- ALTER TABLE `tbl_inventaris` ADD PRIMARY KEY (`id`), ADD KEY `item` (`item_id`), ADD KEY `room` (`room_id`), ADD KEY `pengadaan` (`pengadaan_id`); -- -- Indexes for table `tbl_items` -- ALTER TABLE `tbl_items` ADD PRIMARY KEY (`id`), ADD KEY `category` (`kategori_id`); -- -- Indexes for table `tbl_kategori_aset` -- ALTER TABLE `tbl_kategori_aset` ADD PRIMARY KEY (`kategori_id`); -- -- Indexes for table `tbl_kat_keluhan` -- ALTER TABLE `tbl_kat_keluhan` ADD PRIMARY KEY (`id`); -- -- Indexes for table `tbl_list_complain` -- ALTER TABLE `tbl_list_complain` ADD PRIMARY KEY (`id`); -- -- Indexes for table `tbl_pengadaan` -- ALTER TABLE `tbl_pengadaan` ADD PRIMARY KEY (`id`); -- -- Indexes for table `tbl_penyusutan` -- ALTER TABLE `tbl_penyusutan` ADD PRIMARY KEY (`id`), ADD KEY `inventaris` (`inventaris_id`); -- -- Indexes for table `tbl_rooms` -- ALTER TABLE `tbl_rooms` ADD PRIMARY KEY (`id`); -- -- Indexes for table `tbl_sub_keluhan` -- ALTER TABLE `tbl_sub_keluhan` ADD PRIMARY KEY (`id`); -- -- Indexes for table `ueu_tbl_info` -- ALTER TABLE `ueu_tbl_info` ADD PRIMARY KEY (`id`); -- -- Indexes for table `ueu_tbl_user` -- ALTER TABLE `ueu_tbl_user` ADD PRIMARY KEY (`idlog`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `tbl_building` -- ALTER TABLE `tbl_building` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `tbl_damage` -- ALTER TABLE `tbl_damage` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `tbl_detail_complaint` -- ALTER TABLE `tbl_detail_complaint` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_inventaris` -- ALTER TABLE `tbl_inventaris` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_items` -- ALTER TABLE `tbl_items` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48; -- -- AUTO_INCREMENT for table `tbl_kategori_aset` -- ALTER TABLE `tbl_kategori_aset` MODIFY `kategori_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT for table `tbl_kat_keluhan` -- ALTER TABLE `tbl_kat_keluhan` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `tbl_list_complain` -- ALTER TABLE `tbl_list_complain` MODIFY `id` int(1) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_pengadaan` -- ALTER TABLE `tbl_pengadaan` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_penyusutan` -- ALTER TABLE `tbl_penyusutan` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `tbl_rooms` -- ALTER TABLE `tbl_rooms` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24; -- -- AUTO_INCREMENT for table `tbl_sub_keluhan` -- ALTER TABLE `tbl_sub_keluhan` MODIFY `id` int(1) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4027; -- -- AUTO_INCREMENT for table `ueu_tbl_user` -- ALTER TABLE `ueu_tbl_user` MODIFY `idlog` int(2) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1041; -- -- Constraints for dumped tables -- -- -- Constraints for table `tbl_inventaris` -- ALTER TABLE `tbl_inventaris` ADD CONSTRAINT `item` FOREIGN KEY (`item_id`) REFERENCES `tbl_items` (`id`), ADD CONSTRAINT `pengadaan` FOREIGN KEY (`pengadaan_id`) REFERENCES `tbl_pengadaan` (`id`), ADD CONSTRAINT `room` FOREIGN KEY (`room_id`) REFERENCES `tbl_rooms` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Constraints for table `tbl_items` -- ALTER TABLE `tbl_items` ADD CONSTRAINT `category` FOREIGN KEY (`kategori_id`) REFERENCES `tbl_kategori_aset` (`kategori_id`); -- -- Constraints for table `tbl_penyusutan` -- ALTER TABLE `tbl_penyusutan` ADD CONSTRAINT `inventaris` FOREIGN KEY (`inventaris_id`) REFERENCES `tbl_inventaris` (`id`); COMMIT; /*!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 */;