aboutsummaryrefslogblamecommitdiffstats
path: root/db/migrate/20130611193512_create_refinerycms_settings_schema.refinery_settings.rb
blob: 6a736b7c01ecf9a0597419864d782ee68b0bfbc1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                         
# This migration comes from refinery_settings (originally 20100913234710)
class CreateRefinerycmsSettingsSchema < ActiveRecord::Migration
  def change
    create_table :refinery_settings do |t|
      t.string    :name
      t.text      :value
      t.boolean   :destroyable,             :default => true
      t.string    :scoping
      t.boolean   :restricted,              :default => false
      t.string    :form_value_type

      t.timestamps
    end

    add_index :refinery_settings, :name
  end
end