Initial commit of foodsoft 2
This commit is contained in:
commit
5b9a7e05df
657 changed files with 70444 additions and 0 deletions
28
vendor/plugins/acts_as_configurable/test/schema.rb
vendored
Normal file
28
vendor/plugins/acts_as_configurable/test/schema.rb
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
ActiveRecord::Migration.verbose = false
|
||||
|
||||
ActiveRecord::Schema.define(:version => 0) do
|
||||
|
||||
create_table :configurable_settings, :force => true do |t|
|
||||
t.column :configurable_id, :integer
|
||||
t.column :configurable_type, :string
|
||||
t.column :targetable_id, :integer
|
||||
t.column :targetable_type, :string
|
||||
t.column :name, :string, :default => "", :null => false
|
||||
t.column :value_type, :string
|
||||
t.column :value, :text
|
||||
end
|
||||
add_index :configurable_settings, :name
|
||||
|
||||
create_table :test_groups, :force => true do |t|
|
||||
t.column :display_name, :string, :limit => 80
|
||||
end
|
||||
|
||||
create_table :test_users, :force => true do |t|
|
||||
t.column :login, :string, :limit => 20
|
||||
t.column :name, :string, :limit => 80
|
||||
t.column :email, :string
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
ActiveRecord::Migration.verbose = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue