Skip to content

Commit

Permalink
backup function discarded due to some server incompatibilities, backu…
Browse files Browse the repository at this point in the history
…p files of db is added
  • Loading branch information
alierdogan7 committed Jun 9, 2015
1 parent c3c4ad6 commit abc8506
Show file tree
Hide file tree
Showing 4 changed files with 1,885 additions and 3 deletions.
37 changes: 37 additions & 0 deletions ayetlerim-db-structure.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

CREATE TABLE IF NOT EXISTS `ayet` (
`ayet_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tarih` int(10) unsigned NOT NULL,
`sure_no` varchar(10) COLLATE utf8_turkish_ci NOT NULL,
`sure_adi` varchar(20) COLLATE utf8_turkish_ci NOT NULL,
`ayet_meal` varchar(5000) COLLATE utf8_turkish_ci NOT NULL,
`ek_not` varchar(5000) COLLATE utf8_turkish_ci DEFAULT NULL,
PRIMARY KEY (`ayet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci AUTO_INCREMENT=440 ;

CREATE TABLE IF NOT EXISTS `ayet_tag` (
`ayet_id` int(10) unsigned NOT NULL,
`tag_id` int(10) unsigned NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


CREATE TABLE IF NOT EXISTS `gunun_ayeti` (
`ulasilan_sayi` int(11) NOT NULL,
`duzenlenen_tarih` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

CREATE TABLE IF NOT EXISTS `tag` (
`tag_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tarih` int(10) unsigned NOT NULL,
`tag_adi` varchar(100) COLLATE utf8_turkish_ci DEFAULT NULL,
PRIMARY KEY (`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci AUTO_INCREMENT=54 ;

CREATE TABLE IF NOT EXISTS `yoneticiler` (
`uye_id` int(11) NOT NULL AUTO_INCREMENT,
`uye_adi` varchar(20) COLLATE utf8_turkish_ci NOT NULL,
`sifre` varchar(50) COLLATE utf8_turkish_ci NOT NULL,
PRIMARY KEY (`uye_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_turkish_ci AUTO_INCREMENT=2 ;
Loading

0 comments on commit abc8506

Please sign in to comment.