2023-05-21 17:59:36 +03:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
class CreateAccounts < ActiveRecord::Migration[7.0]
|
|
|
|
|
def change
|
|
|
|
|
create_table :accounts do |t|
|
|
|
|
|
t.string :name, null: false
|
2023-06-30 01:26:13 +03:00
|
|
|
t.string :timezone, null: false
|
|
|
|
|
t.string :locale, null: false
|
2023-05-21 17:59:36 +03:00
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|