Sha256: 287e0de26cbb001e6d1dd33c5eeef470952172d8c940afd9bc8e2adb008f4be6
Contents?: true
Size: 447 Bytes
Versions: 51
Compression:
Stored size: 447 Bytes
Contents
class AddSettingsTable < ActiveRecord::Migration def up create_table "settings" do |t| t.column "name", :string, :null => false t.column "value", :text t.column "created_on", :timestamp t.column "updated_on", :timestamp end add_index "settings", ["name"], :name => "UN_settings_name", :unique => true end def down drop_table "settings" end end
Version data entries
51 entries across 51 versions & 1 rubygems