Sha256: c693c53102398c4a4c86cd04069f8b119e88e351b137a94a3e7a23cf98f3f0f7

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

ActiveRecord::Migration.verbose = false

ActiveRecord::Schema.define do
  create_table :articles, :force => true do |t|
    t.string :slug
  end

  create_table :article_translations, :force => true do |t|
    t.string :locale
    t.references :article
    t.string :name
    t.text :content
  end
  
  create_table :posts, :force => true do |t|
    t.string :slug
  end

  create_table :post_translations, :force => true do |t|
    t.string :locale
    t.references :post
    t.string :name
    t.text :content
  end
  
  create_table :tags, :force => true do |t|
  end

  create_table :tag_translations, :force => true do |t|
    t.string :locale
    t.references :tag
    t.string :name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_model_translations-0.1.4 spec/data/schema.rb
simple_model_translations-0.1.3 spec/data/schema.rb