projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prettify the Customer pages
[cs356-p2-videostore.git]
/
db
/
schema.rb
diff --git
a/db/schema.rb
b/db/schema.rb
index
192232a
..
f9d22a0
100644
(file)
--- 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.
# migrations feature of ActiveRecord to incrementally modify your database, and
# then regenerate this schema definition.
-ActiveRecord::Schema.define(:version => 2
6
) do
+ActiveRecord::Schema.define(:version => 2
7
) do
create_table "coitems", :force => true do |t|
t.column "customer_id", :integer
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'
# 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
create_table "video_policies", :force => true do |t|
t.column "day", :integer, :null => false
t.column "fee", :decimal, :precision => 8, :scale => 2, :null => false