From b4fc3d97536b0d40f94806b14bd1569b0f6affe5 Mon Sep 17 00:00:00 2001 From: Shirou WAKAYAMA Date: Tue, 5 Aug 2014 23:16:22 +0900 Subject: [PATCH] add document about DropTableIfExists. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index fdb86396..11ced96f 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,9 @@ db.CreateTable(User{}) // Drop table db.DropTable(User{}) +// Drop table if exists +db.DropTableIfExists(User{}) + // Automating Migration db.AutoMigrate(User{})