This commit is contained in:
benji 2015-09-21 08:54:50 +02:00
parent 2287cbeddd
commit 4f24651b84
6 changed files with 3 additions and 15 deletions

View file

@ -15,6 +15,7 @@
# stock :integer default("0"), not null
# calories :integer
# deleted :boolean default("f")
# barcode :string default(""), not null
#
class Product < ActiveRecord::Base

View file

@ -6,11 +6,6 @@
# created_at :datetime
# updated_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default("0"), not null
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string
# last_sign_in_ip :string
# admin :boolean
# dagschotel_id :integer
# avatar_file_name :string

View file

@ -15,6 +15,7 @@
# stock :integer default("0"), not null
# calories :integer
# deleted :boolean default("f")
# barcode :string default(""), not null
#
require 'faker'

View file

@ -6,11 +6,6 @@
# created_at :datetime
# updated_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default("0"), not null
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string
# last_sign_in_ip :string
# admin :boolean
# dagschotel_id :integer
# avatar_file_name :string

View file

@ -15,6 +15,7 @@
# stock :integer default("0"), not null
# calories :integer
# deleted :boolean default("f")
# barcode :string default(""), not null
#
describe Product do

View file

@ -6,11 +6,6 @@
# created_at :datetime
# updated_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default("0"), not null
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string
# last_sign_in_ip :string
# admin :boolean
# dagschotel_id :integer
# avatar_file_name :string