Sha256: 06f4577bd24f6d720f3ef0c2dd91f7985e54a17162a47c4eff328f32cf29c2fe

Contents?: true

Size: 523 Bytes

Versions: 3

Compression:

Stored size: 523 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple_model_translations-0.1.2 spec/data/schema.rb
simple_model_translations-0.1.1 spec/data/schema.rb
simple_model_translations-0.1.0 spec/data/schema.rb