Updated schema
This commit is contained in:
12
db/schema.rb
12
db/schema.rb
@@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20180129190950) do
|
ActiveRecord::Schema.define(version: 20180205170054) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@@ -624,6 +624,16 @@ ActiveRecord::Schema.define(version: 20180129190950) do
|
|||||||
|
|
||||||
add_index "moderators", ["user_id"], name: "index_moderators_on_user_id", using: :btree
|
add_index "moderators", ["user_id"], name: "index_moderators_on_user_id", using: :btree
|
||||||
|
|
||||||
|
create_table "newsletters", force: :cascade do |t|
|
||||||
|
t.string "subject"
|
||||||
|
t.integer "segment_recipient"
|
||||||
|
t.string "from"
|
||||||
|
t.text "body"
|
||||||
|
t.date "sent_at"
|
||||||
|
t.datetime "created_at", null: false
|
||||||
|
t.datetime "updated_at", null: false
|
||||||
|
end
|
||||||
|
|
||||||
create_table "notifications", force: :cascade do |t|
|
create_table "notifications", force: :cascade do |t|
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.integer "notifiable_id"
|
t.integer "notifiable_id"
|
||||||
|
|||||||
Reference in New Issue
Block a user