aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/db/migrate/20110802081558_create_refinerycms_settings_schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dummy/db/migrate/20110802081558_create_refinerycms_settings_schema.rb')
m---------spec/dummy0
-rw-r--r--spec/dummy/db/migrate/20110802081558_create_refinerycms_settings_schema.rb24
2 files changed, 0 insertions, 24 deletions
diff --git a/spec/dummy b/spec/dummy
new file mode 160000
+Subproject 84d66350ec474665e7d436dca479a142b091f87
diff --git a/spec/dummy/db/migrate/20110802081558_create_refinerycms_settings_schema.rb b/spec/dummy/db/migrate/20110802081558_create_refinerycms_settings_schema.rb
deleted file mode 100644
index b60cf82..0000000
--- a/spec/dummy/db/migrate/20110802081558_create_refinerycms_settings_schema.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-class CreateRefinerycmsSettingsSchema < ActiveRecord::Migration
- def self.up
- create_table ::Refinery::Setting.table_name, :force => true do |t|
- t.string "name"
- t.text "value"
- t.boolean "destroyable", :default => true
- t.datetime "created_at"
- t.datetime "updated_at"
- t.string "scoping"
- t.boolean "restricted", :default => false
- t.string "callback_proc_as_string"
- end
-
- add_index ::Refinery::Setting.table_name, ["name"], :name => "index_#{::Refinery::Setting.table_name}_on_name"
- end
-
- def self.down
- [::Refinery::Setting].reject{|m|
- !(defined?(m) and m.respond_to?(:table_name))
- }.each do |model|
- drop_table model.table_name
- end
- end
-end