Sha256: 59d6eb0752a8fe4e41cb6fab31d8efc58b9952d3596e8f6ab8d915e785065048

Contents?: true

Size: 375 Bytes

Versions: 41

Compression:

Stored size: 375 Bytes

Contents

class CreateLanguages < ActiveRecord::Migration
  
  def self.up
    create_table :languages do |t|
      t.string :name
      t.string :code
      t.string :frontpage_name
      t.string :page_layout, :default => 'intro'
      t.boolean :public, :default => false
      t.timestamps
      t.userstamps
    end
  end
  
  def self.down
    drop_table :languages
  end
  
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
alchemy_cms-2.1.12 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.0.7 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.11 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.9.1 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.9 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.8.1 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.8 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.7 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.6 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.5 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.4 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.3 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.2 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.1 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.rc6 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.rc5 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.rc4 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.rc3 db/migrate/20101109151812_create_languages.rb
alchemy_cms-2.1.rc2 db/migrate/20101109151812_create_languages.rb