Sha256: 8486a8680465596560349c3e6cb1120bb159d9d07e33591366c936f208a4b04a

Contents?: true

Size: 472 Bytes

Versions: 8

Compression:

Stored size: 472 Bytes

Contents

ActiveRecord::Schema.define do
  create_table(:users, force: true) do |t|
    t.string :name
    t.string :city
    t.timestamps
  end

  create_table(:messages, force: true) do |t|
    t.string :name
    t.string :city
    t.timestamps
  end

  create_table(:projects, force: true) do |t|
    t.string :city
    t.integer :user_id
    t.timestamps
  end

  create_table(:posts, force: true) do |t|
    t.string :title
    t.string :description
    t.timestamps
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
databound-3.1.1 spec/internal/db/schema.rb
databound-3.1.0 spec/internal/db/schema.rb
databound-3.0.3 spec/internal/db/schema.rb
databound-3.0.2 spec/internal/db/schema.rb
databound-3.0.1 spec/internal/db/schema.rb
databound-3.0.0 spec/internal/db/schema.rb
databound-2.0.1 spec/internal/db/schema.rb
databound-2.0.0 spec/internal/db/schema.rb