Sha256: c79d690d96de974c6b989477c8fbbd3a861ab809f1be274ad4a6b10aed340e52
Contents?: true
Size: 399 Bytes
Versions: 10
Compression:
Stored size: 399 Bytes
Contents
ActiveRecord::Schema.define do create_table :users, :force => true do |t| t.string :login t.datetime :deleted_at end create_table :posts, :force => true do |t| t.text :body t.integer :user_id t.integer :author_id end create_table :comments, :force => true do |t| t.text :body t.integer :post_id end add_foreign_key :comments, :post_id, :posts, :id end
Version data entries
10 entries across 10 versions & 2 rubygems