Skip to content

Conversation

@eric-hu
Copy link
Contributor

@eric-hu eric-hu commented Jul 22, 2015

Use the Rails-provided rake task for creating the dev database.

Change database-schema loading instructions, which is more future-proof. Running migrations on the latest build resulted in a schema.rb difference:

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

  modified:   ../db/schema.rb

no changes added to commit (use "git add" and/or "git commit -a")
$ cd ..
$ git diff
diff --git a/db/schema.rb b/db/schema.rb
index 6c263e3..904a869 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -95,7 +95,6 @@ ActiveRecord::Schema.define(:version => 20131101180159) do
     t.datetime "created_at",                                :null => false
     t.datetime "updated_at",                                :null => false
     t.string   "handle"
-    t.boolean  "anonymous",              :default => false
     t.boolean  "guest",                  :default => false
     t.datetime "processing_timestamp"
     t.string   "access_token"

eric-hu added 2 commits July 22, 2015 19:11
Use the Rails-provided rake task for creating the dev database.

Change database-schema loading instructions, which is more future-proof.  Running migrations on the latest build resulted in this schema.rb difference:

    $ git status
    On branch master
    Your branch is up-to-date with 'origin/master'.
    Changes not staged for commit:
      (use "git add <file>..." to update what will be committed)
      (use "git checkout -- <file>..." to discard changes in working directory)

      modified:   ../db/schema.rb

    no changes added to commit (use "git add" and/or "git commit -a")
    $ cd ..
    $ git diff
    diff --git a/db/schema.rb b/db/schema.rb
    index 6c263e3..904a869 100644
    --- a/db/schema.rb
    +++ b/db/schema.rb
    @@ -95,7 +95,6 @@ ActiveRecord::Schema.define(:version => 20131101180159) do
         t.datetime "created_at",                                :null => false
         t.datetime "updated_at",                                :null => false
         t.string   "handle"
    -    t.boolean  "anonymous",              :default => false
         t.boolean  "guest",                  :default => false
         t.datetime "processing_timestamp"
         t.string   "access_token"
@dsjoerg
Copy link
Owner

dsjoerg commented Jul 22, 2015

Thank you! Looks good.

Good catch on the anonymous field. It's a mistake that the field was in schema.rb, I've removed it.

dsjoerg added a commit that referenced this pull request Jul 22, 2015
Simplify "basic installation" notes
@dsjoerg dsjoerg merged commit 167f77c into dsjoerg:master Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants