add schema
This commit is contained in:
parent
686a655b0c
commit
178e668929
38
schema.sql
Normal file
38
schema.sql
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
-- --------------------------------------------------------
|
||||||
|
-- Host: D:\devel\guestbook\guestbook.db
|
||||||
|
-- Server version: 3.45.3
|
||||||
|
-- Server OS:
|
||||||
|
-- HeidiSQL Version: 12.8.0.6908
|
||||||
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40101 SET NAMES */;
|
||||||
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||||
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||||
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||||
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
|
|
||||||
|
|
||||||
|
-- Dumping database structure for guestbook
|
||||||
|
CREATE DATABASE IF NOT EXISTS "guestbook";
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Dumping structure for table guestbook.entries
|
||||||
|
CREATE TABLE IF NOT EXISTS "entries" (
|
||||||
|
"id" INTEGER NOT NULL,
|
||||||
|
"name" TEXT NOT NULL DEFAULT '',
|
||||||
|
"website" TEXT NOT NULL DEFAULT '',
|
||||||
|
"comment" TEXT NOT NULL DEFAULT '',
|
||||||
|
"date" INTEGER NOT NULL DEFAULT 0,
|
||||||
|
"ip" TEXT NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY ("id")
|
||||||
|
);
|
||||||
|
|
||||||
|
-- Data exporting was unselected.
|
||||||
|
|
||||||
|
/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
|
||||||
|
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
|
||||||
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
|
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;
|
Loading…
Reference in New Issue
Block a user