Sha256: b4fafa8789b71b9218bd91a9f8d30189dc341a498fed37d1c28a5ff6c5657a51

Contents?: true

Size: 631 Bytes

Versions: 2

Compression:

Stored size: 631 Bytes

Contents

ActiveRecord::Schema.define(:version => 1) do
  create_table :posts do |t|
    t.string :title
    t.text   :text
    t.string :header
  end

  create_table :comments do |t|
    t.string :msg
    t.string :title
  end

  # I18n ar translations table
  create_table :translations do |t|
    t.string :locale
    t.string :key
    t.text   :value
    t.text   :interpolations
    t.boolean :is_proc, :default => false
  end

  # Puret post translations to test the migration process
  create_table :post_translations do |t|
    t.references :post
    t.string :locale
    t.string :title
    t.text :text
    t.timestamps
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
armot-0.2.4 test/schema.rb
armot-0.2.3 test/schema.rb