Просмотр файла sql.txt

Размер файла: 2.13Kb
CREATE TABLE `user` (
  `id` int(11) NOT NULL auto_increment,
  `mail` VARCHAR(30) NOT NULL,
  `pass` VARCHAR(30) NOT NULL,
PRIMARY KEY  (`id`)
);


CREATE TABLE `sten` (
  `id` int(11) NOT NULL auto_increment,
  `sten` text NOT NULL,
  `idi` text NOT NULL,
  `data` text NOT NULL,
  `text` text NOT NULL,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `prof` (
  `id` int(11) NOT NULL auto_increment,
  `name` text NOT NULL,
  `fam` text NOT NULL,
  `pol` text NOT NULL,
  `foto` text NOT NULL,
  `foto1` text NOT NULL,
  `den_rozh` text,
  `sp` text,
  `gorod` text,
  `m_tel` text,
  `d_tel` text,
  `icq` text,
  `url` text,
  `interes` text,
  `muz` text,
  `film` text,
  `tele` text,
  `knig` text,
  `igry` text,
  `citat` text,
  `o_sebe` text,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `priv` (
  `id` int(11) NOT NULL auto_increment,
  `komu` text NOT NULL,
  `ot_kogo` text NOT NULL,
  `data` text NOT NULL,
  `text` text NOT NULL,
  PRIMARY KEY  (`id`)
);


CREATE TABLE `photoal` (
  `id` int(11) NOT NULL auto_increment,
  `idi` text NOT NULL,
  `albom` text NOT NULL,
  `opis` text NULL,
  `data` text NOT NULL,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `photofile` (
  `id` int(11) NOT NULL auto_increment,
  `idi` text NOT NULL,
  `albom` text NOT NULL,
  `opis` text NULL,
  `photo` text NOT NULL,
  `data` text NOT NULL,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `photocomm` (
  `id` int(11) NOT NULL auto_increment,
  `idi` text NOT NULL,
  `photo` text NOT NULL,
  `comm` text NOT NULL,
  `data` text NOT NULL,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `forum1` (
  `id` int(11) NOT NULL auto_increment,
  `idi` text NOT NULL,
  `razd` text NOT NULL,
  `data` text NOT NULL,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `forum2` (
  `id` int(11) NOT NULL auto_increment,
  `temy` text NOT NULL,
  `data` text NOT NULL,
  `razd` text NOT NULL,
  PRIMARY KEY  (`id`)
);

CREATE TABLE `forum3` (
  `id` int(11) NOT NULL auto_increment,
  `idi` text NOT NULL,
  `text` text NOT NULL,
  `data` text NOT NULL,
  `temy` text NOT NULL,
  `razd` text NOT NULL,
  PRIMARY KEY  (`id`)
);