mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Moved Rails plugins required by the core to lib/plugins.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9533 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
18
lib/plugins/awesome_nested_set/test/db/database.yml
Normal file
18
lib/plugins/awesome_nested_set/test/db/database.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
sqlite3:
|
||||
adapter: sqlite3
|
||||
dbfile: awesome_nested_set.sqlite3.db
|
||||
sqlite3mem:
|
||||
:adapter: sqlite3
|
||||
:dbfile: ":memory:"
|
||||
postgresql:
|
||||
:adapter: postgresql
|
||||
:username: postgres
|
||||
:password: postgres
|
||||
:database: awesome_nested_set_plugin_test
|
||||
:min_messages: ERROR
|
||||
mysql:
|
||||
:adapter: mysql
|
||||
:host: localhost
|
||||
:username: root
|
||||
:password:
|
||||
:database: awesome_nested_set_plugin_test
|
||||
23
lib/plugins/awesome_nested_set/test/db/schema.rb
Normal file
23
lib/plugins/awesome_nested_set/test/db/schema.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
ActiveRecord::Schema.define(:version => 0) do
|
||||
|
||||
create_table :categories, :force => true do |t|
|
||||
t.column :name, :string
|
||||
t.column :parent_id, :integer
|
||||
t.column :lft, :integer
|
||||
t.column :rgt, :integer
|
||||
t.column :organization_id, :integer
|
||||
end
|
||||
|
||||
create_table :departments, :force => true do |t|
|
||||
t.column :name, :string
|
||||
end
|
||||
|
||||
create_table :notes, :force => true do |t|
|
||||
t.column :body, :text
|
||||
t.column :parent_id, :integer
|
||||
t.column :lft, :integer
|
||||
t.column :rgt, :integer
|
||||
t.column :notable_id, :integer
|
||||
t.column :notable_type, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user