From 81d71854c0814a499cd8d6196d1790b3a96e5faf Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Sun, 8 Apr 2007 17:35:33 -0500 Subject: [PATCH] Sync with latest Instiki. Syn with revision 518 of Instiki trunk. --- config/environment.rb | 2 +- db/migrate/001_beta1_schema.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environment.rb b/config/environment.rb index f556be3a..2b551925 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -18,7 +18,7 @@ Rails::Initializer.run do |config| # Use Active Record's schema dumper instead of SQL when creating the test database # (enables use of different database adapters for development and test environments) - config.active_record.schema_format = :ruby + config.active_record.schema_format = :sql config.load_paths << "#{RAILS_ROOT}/vendor/plugins/sqlite3-ruby" File.umask(0026) diff --git a/db/migrate/001_beta1_schema.rb b/db/migrate/001_beta1_schema.rb index bac65340..63b2ee7f 100644 --- a/db/migrate/001_beta1_schema.rb +++ b/db/migrate/001_beta1_schema.rb @@ -14,7 +14,7 @@ class Beta1Schema < ActiveRecord::Migration 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 "content", :text t.column "author", :string, :limit => 60 t.column "ip", :string, :limit => 60 end