75 lines
1.8 KiB
SQL
75 lines
1.8 KiB
SQL
-- phpMyAdmin SQL Dump
|
|
-- version 5.2.0
|
|
-- https://www.phpmyadmin.net/
|
|
--
|
|
-- Host: 127.0.0.1
|
|
-- Generation Time: Mar 21, 2023 at 03:14 AM
|
|
-- Server version: 10.4.27-MariaDB
|
|
-- PHP Version: 7.4.33
|
|
|
|
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: `qraset`
|
|
--
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `aset`
|
|
--
|
|
|
|
CREATE TABLE `aset` (
|
|
`id` bigint(20) NOT NULL,
|
|
`kode` varchar(200) NOT NULL,
|
|
`nama` varchar(100) NOT NULL,
|
|
`reg` varchar(20) NOT NULL,
|
|
`merk` varchar(100) NOT NULL,
|
|
`ukuran` varchar(100) NOT NULL,
|
|
`bahan` varchar(100) NOT NULL,
|
|
`warna` varchar(50) DEFAULT NULL,
|
|
`tahun` varchar(100) NOT NULL,
|
|
`pabrik` varchar(100) DEFAULT NULL,
|
|
`rangka` varchar(100) DEFAULT NULL,
|
|
`mesin` varchar(100) DEFAULT NULL,
|
|
`polisi` varchar(100) DEFAULT NULL,
|
|
`bpkb` varchar(100) DEFAULT NULL,
|
|
`asal` varchar(100) NOT NULL,
|
|
`harga` varchar(100) NOT NULL,
|
|
`keterangan` text DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
|
--
|
|
-- Indexes for dumped tables
|
|
--
|
|
|
|
--
|
|
-- Indexes for table `aset`
|
|
--
|
|
ALTER TABLE `aset`
|
|
ADD PRIMARY KEY (`id`),
|
|
ADD KEY `kode` (`kode`,`nama`,`merk`);
|
|
|
|
--
|
|
-- AUTO_INCREMENT for dumped tables
|
|
--
|
|
|
|
--
|
|
-- AUTO_INCREMENT for table `aset`
|
|
--
|
|
ALTER TABLE `aset`
|
|
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
|
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 */;
|