projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix down-migration: add_column should have been remove_column
[arvados.git]
/
services
/
api
/
db
/
schema.rb
diff --git
a/services/api/db/schema.rb
b/services/api/db/schema.rb
index 37a9586c901377eca89a8b72b6a3edb3c32c01e2..fe92304aff3b37360534bfbeacf61ad16a6ee04d 100644
(file)
--- a/
services/api/db/schema.rb
+++ b/
services/api/db/schema.rb
@@
-11,12
+11,12
@@
#
# It's strongly recommended to check this file into your version control system.
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 201307
0816341
4) do
+ActiveRecord::Schema.define(:version => 201307
2415303
4) do
create_table "api_client_authorizations", :force => true do |t|
create_table "api_client_authorizations", :force => true do |t|
- t.string "api_token", :null => false
- t.integer "api_client_id", :null => false
- t.integer "user_id", :null => false
+ t.string "api_token",
:null => false
+ t.integer "api_client_id",
:null => false
+ t.integer "user_id",
:null => false
t.string "created_by_ip_address"
t.string "last_used_by_ip_address"
t.datetime "last_used_at"
t.string "created_by_ip_address"
t.string "last_used_by_ip_address"
t.datetime "last_used_at"
@@
-24,6
+24,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.datetime "created_at"
t.datetime "updated_at"
t.string "default_owner_uuid"
t.datetime "created_at"
t.datetime "updated_at"
t.string "default_owner_uuid"
+ t.text "scopes", :default => "---\n- all\n", :null => false
end
add_index "api_client_authorizations", ["api_client_id"], :name => "index_api_client_authorizations_on_api_client_id"
end
add_index "api_client_authorizations", ["api_client_id"], :name => "index_api_client_authorizations_on_api_client_id"
@@
-173,8
+174,8
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.string "script"
t.string "script_version"
t.text "script_parameters"
t.string "script"
t.string "script_version"
t.text "script_parameters"
- t.string "cancelled_by_client"
- t.string "cancelled_by_user"
+ t.string "cancelled_by_client
_uuid
"
+ t.string "cancelled_by_user
_uuid
"
t.datetime "cancelled_at"
t.datetime "started_at"
t.datetime "finished_at"
t.datetime "cancelled_at"
t.datetime "started_at"
t.datetime "finished_at"
@@
-398,7
+399,7
@@
ActiveRecord::Schema.define(:version => 20130708163414) do
t.boolean "is_admin"
t.text "prefs"
t.datetime "updated_at"
t.boolean "is_admin"
t.text "prefs"
t.datetime "updated_at"
- t.string "default_owner"
+ t.string "default_owner
_uuid
"
t.boolean "is_active", :default => false
end
t.boolean "is_active", :default => false
end