Sha256: 4562286e54190edc3982606cc3a3329480d115780808209dd92754063ede3b6c

Contents?: true

Size: 305 Bytes

Versions: 4

Compression:

Stored size: 305 Bytes

Contents

ActiveRecord::Schema.define do

  create_table :users, :force => true do |t|
    t.string :login
  end
  add_index :users, :login, :unique => true
  
  create_table :comments, :force => true do |t|
    t.string :content
  end

  create_table :posts, :force => true do |t|
    t.string :content
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
automatic_foreign_key-1.1.6 spec/schema/schema.rb
automatic_foreign_key-1.1.5 spec/schema/schema.rb
automatic_foreign_key-1.1.0 spec/schema/schema.rb
automatic_foreign_key-1.0.5 spec/schema/schema.rb