Sync with latest Instiki.
Syn with revision 518 of Instiki trunk.
This commit is contained in:
parent
3ce0b98d99
commit
81d71854c0
|
@ -18,7 +18,7 @@ Rails::Initializer.run do |config|
|
||||||
|
|
||||||
# Use Active Record's schema dumper instead of SQL when creating the test database
|
# 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)
|
# (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"
|
config.load_paths << "#{RAILS_ROOT}/vendor/plugins/sqlite3-ruby"
|
||||||
File.umask(0026)
|
File.umask(0026)
|
||||||
|
|
|
@ -14,7 +14,7 @@ class Beta1Schema < ActiveRecord::Migration
|
||||||
t.column "updated_at", :datetime, :null => false
|
t.column "updated_at", :datetime, :null => false
|
||||||
t.column "revised_at", :datetime, :null => false
|
t.column "revised_at", :datetime, :null => false
|
||||||
t.column "page_id", :integer, :default => 0, :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 "author", :string, :limit => 60
|
||||||
t.column "ip", :string, :limit => 60
|
t.column "ip", :string, :limit => 60
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue