X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=db%2Fschema.rb;h=f9d22a08ea2b667f64636244976c2dba8a490ab9;hb=bbf13350a73e14c5448f6fb0077126b7d92cdb48;hp=d3721874561383e5565d27373b3f1cba44bdfcad;hpb=2818e8becfb6a257df623713d507f0994d5cc278;p=cs356-p2-videostore.git diff --git a/db/schema.rb b/db/schema.rb index d372187..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 => 24) 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 @@ -36,6 +30,10 @@ ActiveRecord::Schema.define(:version => 24) do t.column "name", :string, :null => false end + create_table "gameplatforms", :force => true do |t| + t.column "name", :string, :null => false + end + create_table "medias", :force => true do |t| t.column "name", :string, :null => false end @@ -79,6 +77,13 @@ ActiveRecord::Schema.define(:version => 24) 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