Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bbdc363

Browse files
committed
Add database seed file
1 parent 976e6c2 commit bbdc363

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

‎database.sql

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
-- phpMyAdmin SQL Dump
2+
-- version 4.6.4
3+
-- https://www.phpmyadmin.net/
4+
--
5+
-- Host: localhost:8889
6+
-- Generation Time: Jan 10, 2017 at 01:44 AM
7+
-- Server version: 5.6.28
8+
-- PHP Version: 5.6.25
9+
10+
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11+
SET time_zone = "+00:00";
12+
13+
--
14+
-- Database: `php-db-form`
15+
--
16+
17+
-- --------------------------------------------------------
18+
19+
--
20+
-- Table structure for table `emails`
21+
--
22+
23+
CREATE TABLE `emails` (
24+
`id` int(11) UNSIGNED NOT NULL,
25+
`address` varchar(255) NOT NULL,
26+
`created_at` int(11) UNSIGNED NOT NULL
27+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
28+
29+
--
30+
-- Dumping data for table `emails`
31+
--
32+
33+
INSERT INTO `emails` (`id`, `address`, `created_at`) VALUES
34+
(1, 'hello@leinwand.cc', 1484007711);
35+
36+
--
37+
-- Indexes for dumped tables
38+
--
39+
40+
--
41+
-- Indexes for table `emails`
42+
--
43+
ALTER TABLE `emails`
44+
ADD PRIMARY KEY (`id`);
45+
46+
--
47+
-- AUTO_INCREMENT for dumped tables
48+
--
49+
50+
--
51+
-- AUTO_INCREMENT for table `emails`
52+
--
53+
ALTER TABLE `emails`
54+
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /