From bbe2720e8bb8b6307cb09a0359734b65f0803a5c Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Fri, 16 Feb 2007 12:53:35 -0600 Subject: [PATCH] Whoops! Forgot to update the database. --- db/production.db.sqlite3 | Bin 19456 -> 19456 bytes db/schema.rb | 86 +++++++++++++++++++-------------------- log/production.log | 2 + 3 files changed, 45 insertions(+), 43 deletions(-) diff --git a/db/production.db.sqlite3 b/db/production.db.sqlite3 index 649297cd69d2722141fd804406d3832c0277137e..4ac372fe17df5fd159b2db9fa9619f67f423c943 100644 GIT binary patch delta 990 zcmZpe!Pqc^aY8<$(8humW+rZ~&EJ^$MYtKRFfd$URAO>u?wr_oWU`W^A6JtM6T7&$ zIAe?WkUArfIvoY2#FUiGlFa^&jQ5#>nJzFpZfrcySYO1>F77DL z*eIBpmy%imCgO`y%QA~I^Ye=1^Yh{h64O)TGgIJVT+TtRjv=lJo_;Q_5eiDUbtozL z`zgS+DQGA`O;XaV=3p0hmuGC0&CCnMZfSB+YGO%hN_=7o+yEYe_98S*&eoMx&*x+p zx0h#Zl>B$*u`VD z85=#pjsO$!<(b);@kOa=sYR)I$*JIYfb&w~^AdAY(NqXy3mr5ypx8t+MM+_@v$yEv z_uhiB<=pJzuCk1ckg$L_qd2t~o(`bw_{Sk#3Btd15F(TrJVfa?9`O_#1bWil*E$MlFZyx z%_ePTc5!)m#unAh-co{$GCB%MnFS~sH8WV)#U&*f8?`4-l1|{&b(c5zWr#tz5H?J{pCH_9qbUN76sUXof-l9`jb*;ei_=Oz^v76CSf#S9FK z83h?T7(X+0GyR*`*k7N+&Ms~(&)CSFnU|7UQIuMiS)7@lR~%oEn4TJ+nG%mG%;g;9 z>KNjx;OXb$8lj+sL%EWIzn=nJPC-KnYM7E{DF?f_qda4yILz33sCCIjsfi`vkU_JN z8<&mfIxs9nC{WVOBA~eDU}Cz(z;uf_abx2-ru0S@UUqSJZN^4ru#M%J*_rW0 zscET2sd>q%XmO1uDTr!0nk;HEnf$ 2) do create_table "pages", :force => true do |t| - t.column "created_at", :datetime, :null => false - t.column "updated_at", :datetime, :null => false - t.column "web_id", :integer, :default => 0, :null => false - t.column "locked_by", :string, :limit => 60 - t.column "name", :string, :limit => 60 - t.column "locked_at", :datetime + t.column "created_at", :datetime, :null => false + t.column "updated_at", :datetime, :null => false + t.column "web_id", :integer, :default => 0, :null => false + t.column "locked_by", :string, :limit => 60 + t.column "name", :string, :limit => 60 + t.column "locked_at", :datetime end create_table "revisions", :force => true do |t| - t.column "created_at", :datetime, :null => false - t.column "updated_at", :datetime, :null => false - t.column "revised_at", :datetime, :null => false - t.column "page_id", :integer, :default => 0, :null => false - t.column "content", :text, :default => "", :null => false - t.column "author", :string, :limit => 60 - t.column "ip", :string, :limit => 60 + t.column "created_at", :datetime, :null => false + t.column "updated_at", :datetime, :null => false + t.column "revised_at", :datetime, :null => false + t.column "page_id", :integer, :default => 0, :null => false + t.column "content", :text, :default => "", :null => false + t.column "author", :string, :limit => 60 + t.column "ip", :string, :limit => 60 end - add_index "revisions", ["author"], :name => "revisions_author_index" - add_index "revisions", ["created_at"], :name => "revisions_created_at_index" - add_index "revisions", ["page_id"], :name => "revisions_page_id_index" + add_index "revisions", ["author"], :name => "index_revisions_on_author" + add_index "revisions", ["created_at"], :name => "index_revisions_on_created_at" + add_index "revisions", ["page_id"], :name => "index_revisions_on_page_id" create_table "sessions", :force => true do |t| t.column "session_id", :string - t.column "data", :text + t.column "data", :text t.column "updated_at", :datetime end - add_index "sessions", ["session_id"], :name => "sessions_session_id_index" + add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" create_table "system", :force => true do |t| t.column "password", :string, :limit => 60 end create_table "webs", :force => true do |t| - t.column "created_at", :datetime, :null => false - t.column "updated_at", :datetime, :null => false - t.column "name", :string, :limit => 60, :default => "", :null => false - t.column "address", :string, :limit => 60, :default => "", :null => false - t.column "password", :string, :limit => 60 + t.column "created_at", :datetime, :null => false + t.column "updated_at", :datetime, :null => false + t.column "name", :string, :limit => 60, :default => "", :null => false + t.column "address", :string, :limit => 60, :default => "", :null => false + t.column "password", :string, :limit => 60 t.column "additional_style", :string - t.column "allow_uploads", :integer, :default => 1 - t.column "published", :integer, :default => 0 - t.column "count_pages", :integer, :default => 0 - t.column "markup", :string, :limit => 50, :default => "markdownMML" - t.column "color", :string, :limit => 6, :default => "008B26" - t.column "max_upload_size", :integer, :default => 100 - t.column "safe_mode", :integer, :default => 0 - t.column "brackets_only", :integer, :default => 0 + t.column "allow_uploads", :integer, :default => 1 + t.column "published", :integer, :default => 0 + t.column "count_pages", :integer, :default => 0 + t.column "markup", :string, :limit => 50, :default => "markdownMML" + t.column "color", :string, :limit => 6, :default => "008B26" + t.column "max_upload_size", :integer, :default => 100 + t.column "safe_mode", :integer, :default => 0 + t.column "brackets_only", :integer, :default => 0 end create_table "wiki_files", :force => true do |t| - t.column "created_at", :datetime, :null => false - t.column "updated_at", :datetime, :null => false - t.column "web_id", :integer, :null => false - t.column "file_name", :string, :null => false - t.column "description", :string, :null => false + t.column "created_at", :datetime, :null => false + t.column "updated_at", :datetime, :null => false + t.column "web_id", :integer, :null => false + t.column "file_name", :string, :null => false + t.column "description", :string, :null => false end create_table "wiki_references", :force => true do |t| - t.column "created_at", :datetime, :null => false - t.column "updated_at", :datetime, :null => false - t.column "page_id", :integer, :default => 0, :null => false - t.column "referenced_name", :string, :limit => 60, :default => "", :null => false - t.column "link_type", :string, :limit => 1, :default => "", :null => false + t.column "created_at", :datetime, :null => false + t.column "updated_at", :datetime, :null => false + t.column "page_id", :integer, :default => 0, :null => false + t.column "referenced_name", :string, :limit => 60, :default => "", :null => false + t.column "link_type", :string, :limit => 1, :default => "", :null => false end - add_index "wiki_references", ["referenced_name"], :name => "wiki_references_referenced_name_index" - add_index "wiki_references", ["page_id"], :name => "wiki_references_page_id_index" + add_index "wiki_references", ["referenced_name"], :name => "index_wiki_references_on_referenced_name" + add_index "wiki_references", ["page_id"], :name => "index_wiki_references_on_page_id" end diff --git a/log/production.log b/log/production.log index 8b84199c..a557a782 100644 --- a/log/production.log +++ b/log/production.log @@ -1,3 +1,5 @@ # Logfile created on Mon Jan 22 07:45:04 CST 2007 by logger.rb/1.5.2.7 Migrating to Beta1Schema (1) Migrating to Beta2ChangesBulk (2) +Migrating to Beta1Schema (1) +Migrating to Beta2ChangesBulk (2)