add emails for newsletter
This commit is contained in:
7
db/migrate/20230501112440_create_emails.rb
Normal file
7
db/migrate/20230501112440_create_emails.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class CreateEmails < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :emails do |t|
|
||||
t.string :email, null: false
|
||||
end
|
||||
end
|
||||
end
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2022_05_12_140948) do
|
||||
ActiveRecord::Schema.define(version: 2023_05_01_112440) do
|
||||
|
||||
create_table "active_admin_comments", force: :cascade do |t|
|
||||
t.string "namespace"
|
||||
@ -38,6 +38,10 @@ ActiveRecord::Schema.define(version: 2022_05_12_140948) do
|
||||
t.index ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true
|
||||
end
|
||||
|
||||
create_table "emails", force: :cascade do |t|
|
||||
t.string "email", null: false
|
||||
end
|
||||
|
||||
create_table "messages", force: :cascade do |t|
|
||||
t.string "title"
|
||||
t.text "description"
|
||||
@ -45,6 +49,7 @@ ActiveRecord::Schema.define(version: 2022_05_12_140948) do
|
||||
t.string "phone"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.string "name"
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user