Sha256: a19847c34354a03d071d3228be5f748c6386996240d103dc397f5c660ef0b593

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

class CreateSites < ActiveRecord::Migration
  def self.up
    create_table :sites do |t|
      t.string    :title
      t.text      :description
      t.string    :time_zone
      t.integer   :owner_id
      t.string    :host
    end
  end

  def self.down
    drop_table :sites
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
content_engine-0.1.0 db/migrate/20100225110024_create_sites.rb
content_engine-0.1.0 spec/rails_app/db/migrate/20100225110024_create_sites.rb