X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=db%2Fschema.rb;h=f9d22a08ea2b667f64636244976c2dba8a490ab9;hb=0016f273e94771888df4b73eb334d269f1d4975f;hp=ef94c3ea74eb24eba97168da0ade30ad1b149c87;hpb=f96a0f6949f29078cd2c5e3c81d3ac48ac710fbe;p=cs356-p2-videostore.git diff --git a/db/schema.rb b/db/schema.rb index ef94c3e..f9d22a0 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,13 +2,7 @@ # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. -ActiveRecord::Schema.define(:version => 25) do - - create_table "bitems", :force => true do |t| - t.column "customer_id", :integer, :null => false - t.column "merchandise_id", :integer, :null => false - t.column "date", :date, :null => false - end +ActiveRecord::Schema.define(:version => 27) do create_table "coitems", :force => true do |t| t.column "customer_id", :integer @@ -83,6 +77,13 @@ ActiveRecord::Schema.define(:version => 25) do # Could not dump table "sqlite_sequence" because of following StandardError # Unknown type '' for column 'name' + create_table "users", :force => true do |t| + t.column "name", :string, :null => false + t.column "hashed_password", :string + t.column "salt", :string + t.column "manager", :boolean, :default => false + end + create_table "video_policies", :force => true do |t| t.column "day", :integer, :null => false t.column "fee", :decimal, :precision => 8, :scale => 2, :null => false