0% found this document useful (0 votes)
33 views2 pages

Baza

This document contains the SQL code to create multiple tables in a database including tables for phone messages, player contacts, player mails, tweets, OLX announcements, and a phone gallery. The tables define columns for user IDs, names, numbers, subjects, messages, dates and other related fields.

Uploaded by

maneamaurizio59
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

Baza

This document contains the SQL code to create multiple tables in a database including tables for phone messages, player contacts, player mails, tweets, OLX announcements, and a phone gallery. The tables define columns for user IDs, names, numbers, subjects, messages, dates and other related fields.

Uploaded by

maneamaurizio59
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

-- phpMyAdmin SQL Dump

-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 22, 2022 at 02:39 AM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27

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: `s731_fusion`
--

CREATE TABLE `phone_messages` (


`user_id` int(11) NOT NULL,
`number` varchar(50) DEFAULT NULL,
`messages` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `player_contacts` (


`user_id` int(11) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`number` varchar(50) DEFAULT NULL,
`iban` varchar(50) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `player_mails` (


`user_id` int(11) NOT NULL,
`sender` varchar(50) DEFAULT NULL,
`subject` varchar(50) DEFAULT NULL,
`message` text DEFAULT NULL,
`read` tinyint(4) DEFAULT 0,
`mailid` int(11) DEFAULT NULL,
`date` timestamp NULL DEFAULT current_timestamp(),
`button` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `twitter_tweets` (


`id` int(5) NOT NULL,
`firstName` varchar(50) DEFAULT NULL,
`lastName` varchar(50) DEFAULT NULL,
`message` varchar(50) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`time` varchar(50) DEFAULT NULL,
`picture` varchar(255) DEFAULT NULL,
`owner` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE `olx_myannounce` (


`id` int(11) NOT NULL,
`user_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`category` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`price` int(255) NOT NULL,
`photos` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`promoted` int(255) NOT NULL,
`title` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` int(255) NOT NULL,
`desca` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`expireDate` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

ALTER TABLE `olx_myannounce`


ADD PRIMARY KEY (`id`);

ALTER TABLE `olx_myannounce`


MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

CREATE TABLE `phone_gallery` (


`user_id` varchar(255) NOT NULL,
`image` varchar(255) NOT NULL,
`date` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

You might also like