Add PostStatus model

This commit is contained in:
riggraz
2019-08-24 12:06:48 +02:00
parent 8e610aa381
commit 726236b8aa
6 changed files with 71 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2019_08_22_141109) do
ActiveRecord::Schema.define(version: 2019_08_24_093755) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -23,6 +23,14 @@ ActiveRecord::Schema.define(version: 2019_08_22_141109) do
t.index ["name"], name: "index_boards_on_name", unique: true
end
create_table "post_statuses", force: :cascade do |t|
t.string "name"
t.string "color"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["name"], name: "index_post_statuses_on_name", unique: true
end
create_table "users", force: :cascade do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false