   ADD KEY `fk_lesson_logs_sclasses1_idx` (`sclasses_id`);
 
 --
+-- Indexes for table `marks`
+--
+ALTER TABLE `marks`
+  ADD PRIMARY KEY (`id`),
+  ADD KEY `fk_marks_posts1_idx` (`posts_id`),
+  ADD KEY `fk_marks_students1_idx` (`students_id`);
+
+--
 -- Indexes for table `migrations`
 --
 ALTER TABLE `migrations`

  `teachers_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- 转存表中的数据 `comments`
--

INSERT INTO `comments` (`id`, `posts_id`, `content`, `teachers_id`, `created_at`, `updated_at`) VALUES
(1, 44, 'asasas', 2, '2017-11-19 06:14:27', '2017-11-19 06:14:27'),
(2, 48, '填写评价内容', 2, '2017-12-06 06:12:16', '2017-12-06 06:12:16');

-- --------------------------------------------------------


  `id` int(10) unsigned NOT NULL,
  `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=195 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- 转存表中的数据 `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(183, '2017_11_01_133856_create_admins_table', 1),
(184, '2017_11_02_142635_create_schools_table', 1),
(185, '2017_11_02_142666_create_sclasses_table', 1),
(186, '2017_11_02_143014_create_teachers_table', 1),
(187, '2017_11_02_143253_create_groups_table', 1),
(188, '2017_11_02_144122_create_students_table', 1),
(189, '2017_11_02_144529_create_lessons_table', 1),
(190, '2017_11_02_144917_create_lesson_logs_table', 1),
(191, '2017_11_02_150204_create_posts_table', 1),
(192, '2017_11_02_150644_create_comments_table', 1),
(193, '2017_11_19_094501_create_post_rates_table', 1),
(194, '2017_12_10_134254_create_marks_table', 1);

-- --------------------------------------------------------

