Sha256: 5f2fa08ae9524771c89ee53b545e717592d6c969be1719e5019b4e33f7785328
Contents?: true
Size: 883 Bytes
Versions: 8
Compression:
Stored size: 883 Bytes
Contents
ActiveRecord::Schema.define do create_table :people, force: true do |t| t.string :name t.string :location t.string :email t.integer :age t.timestamps end create_table :posts, force: true do |t| t.string :title t.text :body t.integer :person_id t.timestamps end create_table :pidgeons, force: true do |t| t.string :name t.string :location t.timestamps end create_table :users, force: true do |t| t.string :name t.string :username t.string :email t.string :password_digest t.boolean :is_superuser t.boolean :can_login t.datetime :last_login t.timestamps end create_table :permissions, force: true do |t| t.string :resource t.timestamps end create_table :user_permissions, force: true do |t| t.integer :permission_id t.integer :user_id t.timestamps end end
Version data entries
8 entries across 8 versions & 1 rubygems