Sha256: 10fde3a0d30b22600a5dee1f423b349e4d17096fcdcdae264ee0a6282bfc053d

Contents?: true

Size: 689 Bytes

Versions: 3

Compression:

Stored size: 689 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 :products do |t|
    t.string :name
  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

3 entries across 3 versions & 1 rubygems

Version Path
armot-0.3.1 test/schema.rb
armot-0.3.0 test/schema.rb
armot-0.2.5 test/schema.rb