Analytics and jquery fallback
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddFirstnameToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :firstname, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddLastnameToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :lastname, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
class AddSessionsTable < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :sessions do |t|
|
||||
t.string :session_id, :null => false
|
||||
t.text :data
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :sessions, :session_id, :unique => true
|
||||
add_index :sessions, :updated_at
|
||||
end
|
||||
end
|
||||
+13
-1
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20140713213534) do
|
||||
ActiveRecord::Schema.define(version: 20140714013645) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -184,6 +184,16 @@ ActiveRecord::Schema.define(version: 20140713213534) do
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
create_table "sessions", force: true do |t|
|
||||
t.string "session_id", null: false
|
||||
t.text "data"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
end
|
||||
|
||||
add_index "sessions", ["session_id"], name: "index_sessions_on_session_id", unique: true, using: :btree
|
||||
add_index "sessions", ["updated_at"], name: "index_sessions_on_updated_at", using: :btree
|
||||
|
||||
create_table "translations", force: true do |t|
|
||||
t.string "locale"
|
||||
t.string "key"
|
||||
@@ -223,6 +233,8 @@ ActiveRecord::Schema.define(version: 20140713213534) do
|
||||
t.string "avatar"
|
||||
t.text "about_me"
|
||||
t.string "role"
|
||||
t.string "firstname"
|
||||
t.string "lastname"
|
||||
end
|
||||
|
||||
add_index "users", ["activation_token"], name: "index_users_on_activation_token", using: :btree
|
||||
|
||||
Reference in New Issue
Block a user