Sha256: d43db298f46c45ef09da009094ecab8b0126c289c9466e8e88fa67b702396f07

Contents?: true

Size: 437 Bytes

Versions: 20

Compression:

Stored size: 437 Bytes

Contents

class CreateSettings < ActiveRecord::Migration
  def self.up
    create_table :settings do |t|
      t.string :site_url
      t.string :host_name
      t.string :mail_from
      t.string :site_name
      t.string :tagline
      t.string :time_zone
      t.string :google_tracker_id
      t.boolean :blackbird_enabled
      t.integer :entries_per_page

      t.timestamps
    end
  end

  def self.down
    drop_table :settings
  end
end

Version data entries

20 entries across 10 versions & 1 rubygems

Version Path
jabe-0.5.9 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.9 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.8 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.8 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.7 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.7 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.6 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.6 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.5 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.5 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.4 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.4 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.3 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.3 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.2 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.2 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.1 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.1 lib/generators/jabe/templates/migrations/create_settings.rb
jabe-0.5.0 test/dummy/db/migrate/20101229224027_create_settings.rb
jabe-0.5.0 lib/generators/jabe/templates/migrations/create_settings.rb