Sha256: 6d7dd0ae45ae7fe2147c575be40833d77ab75dd2f5eeef4ad03b106c1e1b83d8
Contents?: true
Size: 479 Bytes
Versions: 13
Compression:
Stored size: 479 Bytes
Contents
class CreateSettings < ActiveRecord::Migration def self.up create_table :settings do |t| t.string(:owner_type, :null => false) t.integer(:owner_id, :null => false) t.string(:name, :null => false, :length => 64) t.string(:value, :null => true, :length => 255) t.string(:locale, :null => true) t.timestamps end end def self.down drop_table(:settings) end end
Version data entries
13 entries across 13 versions & 1 rubygems