Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Assistance < ActiveRecord::Base
- `belongs_to :worker
- validates :fecha, uniqueness: true `
- create_table "assistances", force: :cascade do |t|
- t.integer "worker_id"
- t.boolean "asistio"
- t.boolean "excepcion"
- t.date "fecha"
- t.integer "horas"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- create_table "workers", force: :cascade do |t|
- t.string "nombre"
- t.integer "rut"
- t.text "direccion"
- t.string "telefono"
- t.string "email"
- t.string "equipo"
- t.string "jefe"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- t.integer "boss_id"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement