Skip to content

Commit

Permalink
Running db:migrate on other computer alters db/schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kinseyost committed Sep 23, 2016
1 parent 50ee0fe commit 5b3b6b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

ActiveRecord::Schema.define(version: 20160920033121) do

create_table "admin_users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=latin1" do |t|
create_table "admin_users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
t.string "first_name", limit: 25
t.string "last_name", limit: 50
t.string "email", limit: 100, default: "", null: false
Expand All @@ -23,7 +23,7 @@
t.index ["username"], name: "index_admin_users_on_username", using: :btree
end

create_table "pages", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=latin1" do |t|
create_table "pages", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
t.integer "subject_id"
t.string "name"
t.string "permalink"
Expand All @@ -35,7 +35,7 @@
t.index ["subject_id"], name: "index_pages_on_subject_id", using: :btree
end

create_table "sections", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=latin1" do |t|
create_table "sections", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
t.integer "page_id"
t.string "name"
t.integer "position"
Expand All @@ -47,7 +47,7 @@
t.index ["page_id"], name: "index_sections_on_page_id", using: :btree
end

create_table "subjects", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=latin1" do |t|
create_table "subjects", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
t.string "name"
t.integer "position"
t.boolean "visible", default: false
Expand Down

0 comments on commit 5b3b6b9

Please sign in to comment.