Sha256: 851309ca5d929327f8df91af762f29c4add9d982259552d14a34b1145bebe0da
Contents?: true
Size: 291 Bytes
Versions: 2
Compression:
Stored size: 291 Bytes
Contents
# frozen_string_literal: true ActiveRecord::Schema.define(version: 0) do create_table :users do |t| t.string :email, :username t.text :preferences t.integer :age, null: false, default: 0 end create_table :tokens do |t| t.string :name t.references :user end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
normalize_attributes-0.4.0 | test/schema.rb |
normalize_attributes-0.3.1 | test/schema.rb |