1
我無法生成1.SQL:Playframework 1.2.4演變不工作
玩變陣還是玩變陣提供同樣的輸出
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! master-4877ea8, http://www.playframework.org
~
~ Connected to jdbc:mysql://localhost/artoodb2?useUnicode=yes&characterEncoding=UTF-8&connectionCollation=utf8_general_ci
~ Application revision is 0 [da39a3e] and Database revision is 0 [da39a3e]
~
~ Your database is up to date
~
如何創建2.sql? – 2012-04-20 15:48:14
手動創建一個空的2.sql嗎?然後演變會撿拾? – 2012-04-26 06:03:19
Ayyy ...我的錯應該是:只需在路徑中創建新文件:_/db/evolutions/2.sql_,稍後3.sql,4.sql等每個文件只需包含以前的狀態和新的所需狀態。是的_Just創建新的file_意味着你需要在你最喜歡的編輯器中創建文件。你還應該檢查[evolutions文檔](http://www.playframework.org/documentation/1.2.4/evolutions) – biesior 2012-04-26 10:01:09