Got door logs working
This commit is contained in:
10
db/migrate/20120825041626_create_door_logs.rb
Normal file
10
db/migrate/20120825041626_create_door_logs.rb
Normal 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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user