##// END OF EJS Templates
Add unloadable to the sample plugin controller (http://dev.rubyonrails.org/ticket/6001)....
Add unloadable to the sample plugin controller (http://dev.rubyonrails.org/ticket/6001). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1283 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r742:dbcf2065b86d
r1268:a8e6f68aaf3b
Show More
001_create_some_models.rb
13 lines | 333 B | text/x-ruby | RubyLexer
/ extra / sample_plugin / db / migrate / 001_create_some_models.rb
# Sample plugin migration
# Use rake db:migrate_plugins to migrate installed plugins
class CreateSomeModels < ActiveRecord::Migration
def self.up
create_table :example_plugin_model, :force => true do |t|
t.column "example_attribute", :integer
end
end
def self.down
drop_table :example_plugin_model
end
end