X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=db%2Fschema.rb;h=f9d22a08ea2b667f64636244976c2dba8a490ab9;hb=bbf13350a73e14c5448f6fb0077126b7d92cdb48;hp=192232a8dc2cbb4b8b582869cdcd0e95248048fa;hpb=9145563a8d27360910c3de21b088f68283f33ba3;p=cs356-p2-videostore.git diff --git a/db/schema.rb b/db/schema.rb index 192232a..f9d22a0 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2,7 +2,7 @@ # migrations feature of ActiveRecord to incrementally modify your database, and # then regenerate this schema definition. -ActiveRecord::Schema.define(:version => 26) do +ActiveRecord::Schema.define(:version => 27) do create_table "coitems", :force => true do |t| t.column "customer_id", :integer @@ -77,6 +77,13 @@ ActiveRecord::Schema.define(:version => 26) 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