Sha256: f6517ec4bd28f5328fc78b5b60ade6e5b2ae98a5e902b5cde7475d748e90b3f6
Contents?: true
Size: 407 Bytes
Versions: 33
Compression:
Stored size: 407 Bytes
Contents
class CreateSiteAttributes < ActiveRecord::Migration def self.up create_table('site_attributes', :options => Zena::Db.table_options) do |t| t.column 'owner_id', :integer t.column 'key', :string t.column 'value', :text end add_index 'site_attributes', 'owner_id' end def self.down remove_index 'site_attributes', 'owner_id' drop_table 'site_attributes' end end
Version data entries
33 entries across 33 versions & 1 rubygems