Got door logs working

This commit is contained in:
2012-08-24 23:28:00 -07:00
parent b28efe046c
commit 8b775d9172
22 changed files with 324 additions and 241 deletions

View File

@@ -0,0 +1,10 @@
class CreateDoorLogs < ActiveRecord::Migration
def change
create_table :door_logs do |t|
t.string :key
t.integer :data
t.timestamps
end
end
end

View File

@@ -10,7 +10,14 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20120825014921) do
ActiveRecord::Schema.define(:version => 20120825041626) do
create_table "door_logs", :force => true do |t|
t.string "key"
t.integer "data"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "users", :force => true do |t|
t.string "name"