Sha256: 11db8b176a5b3e9c4cdd4a4fdd932592d7715819b32840c2307525c621054065

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

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

    t.timestamps
  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

4 entries across 4 versions & 1 rubygems

Version Path
armot-0.2.1 test/schema.rb
armot-0.2.0 test/schema.rb
armot-0.1.1 test/schema.rb
armot-0.1.0 test/schema.rb