method

add_column_options!

add_column_options!(sql, options)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_creation.rb, line 24
          def add_column_options!(sql, options)
            if options[:collation]
              sql << " COLLATE \"#{options[:collation]}\""
            end

            if as = options[:as]
              sql << " GENERATED ALWAYS AS (#{as})"

              if options[:stored]
                sql << " STORED"
              else
                sql << " VIRTUAL"
              end
            end
            super
          end