Sha256: e0d9876e2c6280457f8fc2042ae324b5d323dc3277c92a92b69a32335afce29f

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :users, force: true do |t|
    t.string :username
    t.timestamps null: false
  end

  create_table :posts, force: true do |t|
    t.string :name
    t.belongs_to :user, foreign_key: true
    t.timestamps null: false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
api_me-0.9.4 spec/internal/db/schema.rb
api_me-0.9.3 spec/internal/db/schema.rb
api_me-0.9.2 spec/internal/db/schema.rb
api_me-0.9.1 spec/internal/db/schema.rb
api_me-0.9.0 spec/internal/db/schema.rb